open-api-mocker icon indicating copy to clipboard operation
open-api-mocker copied to clipboard

A mock server based in OpenAPI Specification

Results 14 open-api-mocker issues
Sort by recently updated
recently updated
newest added

I have an endpoint that will return a octet-stream as follows, but the response will be json instead of octet-stream ``` responses: "200": description: The requested properties are successfully returned....

enhancement
help wanted

In addition to the existing Prefer header functionality, I added the same but with a cookie. Prefer header has greater priority over cookie

needs information

Added new functionality to perform chaos engineering like experiments on the mocks by adding `Prefer` headers. You can send different status code or add latency to the response by adding...

enhancement

Hello again, I come to you with another issue. I'm trying to test an operation with path parameters. Source of the schema is here: https://github.com/bali182/oats/blob/mocker-example/projects/openapi-e2e-test/kitchenSink.json When sending primitve type parameters...

It's been a while since I started developing OpenAPI Mocker. It all started as a personal side-project, then we started to use it at work and recently caught the attention...

help wanted

I switched from `json-ref` to `swagger-parser`. `json-ref `wasn't resolving remote references, which caused errors when splitting your schema into different files. `swagger-parser` resolves circular references using object references. `PathsParser` does...

Solves #79 With this changes, the application will return a more appropiate value according to format specification (see issue for more info). I'm not sure if `const FORMAT_EXAMPLES` is in...

It would be nice if the application returns the mocked data, taking into account the _format_ parameter (if specified). https://spec.openapis.org/oas/v3.1.0#dataTypeFormat https://ajv.js.org/packages/ajv-formats.html#formats Currently, `type: string` is always returning `'string'` regardless of...

I have an enum of musical genres with approximately 200 entries: I get this error: server_mock | [INFO ] < [400] {"errors":["schema is invalid: data.properties['musicGenre'].enum should NOT have duplicate items...

needs information