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
-
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:
Bar
object does not generate due to a type mismatch. Seems, provided the specification is valid.Bar
object should be generated witharray
type ofproperty1
property.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