{"id":20543555,"url":"https://github.com/bavix/gripmock-sdk-js","last_synced_at":"2025-06-25T14:36:05.331Z","repository":{"id":224354505,"uuid":"763067309","full_name":"bavix/gripmock-sdk-js","owner":"bavix","description":"GripMock SDK JavaScript","archived":false,"fork":false,"pushed_at":"2025-06-02T05:57:49.000Z","size":1316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-17T15:25:36.257Z","etag":null,"topics":["gripmock","sdk","sdk-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bavix.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-25T13:28:27.000Z","updated_at":"2025-06-02T05:57:46.000Z","dependencies_parsed_at":"2024-02-25T14:33:44.634Z","dependency_job_id":"b9f2f266-197b-4aef-9fc8-9e1130e6d6ba","html_url":"https://github.com/bavix/gripmock-sdk-js","commit_stats":{"total_commits":263,"total_committers":4,"mean_commits":65.75,"dds":0.5361216730038023,"last_synced_commit":"490fa3c8a1d941d3d60092e05afd52ede1e24aed"},"previous_names":["bavix/gripmock-sdk-js"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bavix/gripmock-sdk-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fgripmock-sdk-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fgripmock-sdk-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fgripmock-sdk-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fgripmock-sdk-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bavix","download_url":"https://codeload.github.com/bavix/gripmock-sdk-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fgripmock-sdk-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261219304,"owners_count":23126537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gripmock","sdk","sdk-js"],"created_at":"2024-11-16T01:38:47.314Z","updated_at":"2025-06-25T14:36:05.317Z","avatar_url":"https://github.com/bavix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @bavix/gripmock-sdk\n\nGripmockSdk - JavaScript client for @bavix/gripmock-sdk\nNo description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\nThis SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 3.0.0\n- Package version: 1.0.0\n- Generator version: 7.14.0-SNAPSHOT\n- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen\n\n## Installation\n\n### For [Node.js](https://nodejs.org/)\n\n#### npm\n\nTo publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in [\"Publishing npm packages\"](https://docs.npmjs.com/getting-started/publishing-npm-packages).\n\nThen install it via:\n\n```shell\nnpm install @bavix/gripmock-sdk --save\n```\n\nFinally, you need to build the module:\n\n```shell\nnpm run build\n```\n\n##### Local development\n\nTo use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:\n\n```shell\nnpm install\n```\n\nNext, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:\n\n```shell\nnpm link\n```\n\nTo use the link you just defined in your project, switch to the directory you want to use your @bavix/gripmock-sdk from, and run:\n\n```shell\nnpm link /path/to/\u003cJAVASCRIPT_CLIENT_DIR\u003e\n```\n\nFinally, you need to build the module:\n\n```shell\nnpm run build\n```\n\n#### git\n\nIf the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID\nthen install it via:\n\n```shell\n    npm install GIT_USER_ID/GIT_REPO_ID --save\n```\n\n### For browser\n\nThe library also works in the browser environment via npm and [browserify](http://browserify.org/). After following\nthe above steps with Node.js and installing browserify with `npm install -g browserify`,\nperform the following (assuming *main.js* is your entry file):\n\n```shell\nbrowserify main.js \u003e bundle.js\n```\n\nThen include *bundle.js* in the HTML pages.\n\n### Webpack Configuration\n\nUsing Webpack you may encounter the following error: \"Module not found: Error:\nCannot resolve module\", most certainly you should disable AMD loader. Add/merge\nthe following section to your webpack config:\n\n```javascript\nmodule: {\n  rules: [\n    {\n      parser: {\n        amd: false\n      }\n    }\n  ]\n}\n```\n\n## Getting Started\n\nPlease follow the [installation](#installation) instruction and execute the following JS code:\n\n```javascript\nvar GripmockSdk = require('@bavix/gripmock-sdk');\n\n\nvar api = new GripmockSdk.HealthcheckApi()\napi.liveness().then(function(data) {\n  console.log('API called successfully. Returned data: ' + data);\n}, function(error) {\n  console.error(error);\n});\n\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://raw.githubusercontent.com/api*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*GripmockSdk.HealthcheckApi* | [**liveness**](docs/HealthcheckApi.md#liveness) | **GET** /health/liveness | Liveness check\n*GripmockSdk.HealthcheckApi* | [**readiness**](docs/HealthcheckApi.md#readiness) | **GET** /health/readiness | Readiness check\n*GripmockSdk.ServicesApi* | [**serviceMethodsList**](docs/ServicesApi.md#serviceMethodsList) | **GET** /services/{serviceID}/methods | Service methods\n*GripmockSdk.ServicesApi* | [**servicesList**](docs/ServicesApi.md#servicesList) | **GET** /services | Services\n*GripmockSdk.StubsApi* | [**addStub**](docs/StubsApi.md#addStub) | **POST** /stubs | Add a new stub to the store\n*GripmockSdk.StubsApi* | [**batchStubsDelete**](docs/StubsApi.md#batchStubsDelete) | **POST** /stubs/batchDelete | Deletes a pack by IDs\n*GripmockSdk.StubsApi* | [**deleteStubByID**](docs/StubsApi.md#deleteStubByID) | **DELETE** /stubs/{uuid} | Deletes stub by ID\n*GripmockSdk.StubsApi* | [**findByID**](docs/StubsApi.md#findByID) | **GET** /stubs/{uuid} | Get Stub by ID\n*GripmockSdk.StubsApi* | [**listStubs**](docs/StubsApi.md#listStubs) | **GET** /stubs | Getting a list of stubs\n*GripmockSdk.StubsApi* | [**listUnusedStubs**](docs/StubsApi.md#listUnusedStubs) | **GET** /stubs/unused | Getting a list of unused stubs\n*GripmockSdk.StubsApi* | [**listUsedStubs**](docs/StubsApi.md#listUsedStubs) | **GET** /stubs/used | Getting a list of used stubs\n*GripmockSdk.StubsApi* | [**purgeStubs**](docs/StubsApi.md#purgeStubs) | **DELETE** /stubs | Remove all stubs\n*GripmockSdk.StubsApi* | [**searchStubs**](docs/StubsApi.md#searchStubs) | **POST** /stubs/search | Stub storage search\n\n\n## Documentation for Models\n\n - [GripmockSdk.AddStubRequest](docs/AddStubRequest.md)\n - [GripmockSdk.MessageOK](docs/MessageOK.md)\n - [GripmockSdk.Method](docs/Method.md)\n - [GripmockSdk.SearchRequest](docs/SearchRequest.md)\n - [GripmockSdk.SearchResponse](docs/SearchResponse.md)\n - [GripmockSdk.Service](docs/Service.md)\n - [GripmockSdk.Stub](docs/Stub.md)\n - [GripmockSdk.StubHeaders](docs/StubHeaders.md)\n - [GripmockSdk.StubInput](docs/StubInput.md)\n - [GripmockSdk.StubOutput](docs/StubOutput.md)\n\n\n## Documentation for Authorization\n\nEndpoints do not require authorization.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Fgripmock-sdk-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbavix%2Fgripmock-sdk-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Fgripmock-sdk-js/lists"}