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

## What/Why/How? The sampler ignores readOnly and writeOnly on properties in allOf's and in examples. The problem with allOf's is that the readOnly and writeOnly information of properties is lost...

## What/Why/How? ## Reference ## Testing ## Screenshots (optional) ## Check yourself - [x] Code is linted - [ ] Tested - [ ] All new/updated code is covered with...

`readOnly` & `writeOnly` are not honored when they are set in an allOf block to edit an objects properties. E.g. we got these components: ```yaml openapi: 3.0.0 info: title: Test...

Add an option to disable sample auto generation for non-required object properties when the schema hasn't explicit example nor default value. This MR is for https://github.com/Redocly/redoc/issues/1490#issuecomment-829965471

I have a use case in which I'm using the allOf discriminator to specify a required parameter that is not generally required for the schema. I was told this is...

This is a feature request. Would it be possible to change the default example value for the **integer** type? Right now the default is `0`, but since an integer is...

enhancement
help wanted

I'm attempting to use Redoc however openapi sampler is unable to recognize the object spread operator. Babel is set up in my project and works elsewhere. Stack trace: ./~/openapi-sampler/src/openapi-sampler.js 1:0-50...

## What/Why/How? Details on this change can be found in the issue: https://github.com/Redocly/openapi-sampler/issues/145 ## Reference ## Testing ## Screenshots (optional) ## Check yourself - [x] Code is linted - [x]...

Update provided require syntax in README.md to be consistent with the example given at the bottom of the page that uses more up-to-date JS syntax.