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

Fix oneOf being sampled twice for the first item in the list

Open thiagonuic opened this issue 2 years ago • 1 comments
trafficstars

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] Tested
  • [x] All new/updated code is covered with tests

Security

  • [x] Security impact of change has been considered
  • [x] Code follows company security practices and guidelines

thiagonuic avatar Jan 02 '23 11:01 thiagonuic

I think we would want to consider min/max items in the schema definition as well?

adamaltman avatar Mar 16 '24 16:03 adamaltman