Feature: allow type=object field overriding with type=array in Schema object using allOf
#803
mtovt
started this conversation in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
There is a minimal example for described feature:
It seems OpenAPI refers JSON Schema Specification Wright Draft 00. Which one refers The JavaScript Object Notation (JSON) Data Interchange Format. Which says:
Barobject does not generate due to a type mismatch. Seems, provided the specification is valid.Barobject should be generated witharraytype ofproperty1property.Describe the solution you'd like
It seems another approach is required in function _process_properties. This place rejects several valid cases.
Describe alternatives you've considered
Additional context
Beta Was this translation helpful? Give feedback.
All reactions