openapi-sampler icon indicating copy to clipboard operation
openapi-sampler copied to clipboard

:capital_abcd: Tool for generation samples based on OpenAPI(fka Swagger) payload/response schema

Results 18 openapi-sampler issues
Sort by recently updated
recently updated
newest added

See reproduced example here: https://codesandbox.io/p/sandbox/openapi-sampler-oneof-bug-ignfcs I have the following schema: ```json5 { type: "object", properties: { a: { type: "string", }, b: { type: "string", }, }, oneOf: [ {...

bug

We are receiving error below, when trying to generate documentation via `redoc-cli` tool. `redoc-cli` calls `openapi-sampler` and does not work properly with keys in swagger. Example of swagger file. ```...

Hi, thanks for providing such a library for the community. We are using redoc in our code and we found a potential issue in the generated JSON and we traced...

bug

## What/Why/How? I've added a sampler method for string of format binary which results in an array of numbers. I need this for visualizing samples within node-red nodes which offers...

This misses a file about how to contribute, add tests, run tests, link to our code of conduct, etc.

Our other projects use Jest for testing, so it's not seamless to move back and forth. Should we migrate the tests to Jest?

We don't have many releases with OpenAPI Sampler, but our other projects adopted changesets and I think we should adopt that here too.

enhancement

## Reproduction: ```ts import { sample } from "openapi-sampler"; const recursive = { type: "object", properties: { human: { $ref: "#/definitions/person" } }, definitions: { person: { type: "object", properties:...