apisprout
apisprout copied to clipboard
Lightweight, blazing fast, cross-platform OpenAPI 3 mock server with validation
Faced with a problem where it was necessary to emulate the delay of the response from the server. This new functionality closed the issue.
adding prefer header content to log output. There was an error in the Perfer header (i.e. typo), which sometimes resulted in unexpected random responses.
Installation by `go get` is depresiated, so I changed it to `go install`.
I have in my main spec document something like this: ``` components: ListOfWidgets: $ref: 'parts/widget/model.yaml#/ListOfWidgets` Widget: $ref: 'parts/widget/model.yaml#/Widget` ``` And `parts/widget/model.yaml` looks something like this: ``` ListOfWidgets: type: array items:...
if a spec file has this for server.url `http://x.x.x.x:9091/api/v1`, then the server will ignore the path /api/v1, only serve the APIs at the root, is this expected behavior or this...
**Summary** Apisprout does not support `readOnly` and `writeOnly` attributes of properties. **Steps to reproduce** Mock this schema: ```yml paths: /foo: get: operationId: getFoo responses: '200': content: application/json: schema: $ref: "#/components/schemas/fooSchema"...
Last release was 19th March 2019 - 25 commits to master since which includes some good patches.
Docker Image used: 6c07143937e57095d8478efc8ab7eab52b44e67c7673285f8c0a2bf4a7b137ad ``` openapi: 3.0.3 info: title: test version: '1.0' servers: - url: 'http://localhost:8000' paths: /test: get: responses: '200': description: OK content: application/json: schema: type: object properties: ok:...
This is based on my previous PR: I simply removed the http prefix check on uri and allow __reload in all cases
I would like to see this feature happen in a future release :) I open this PR as a WIP / draft / for discussion. Tel me what you think,...