You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: allow type=object field overriding with type=array in Schema object using allOf #719
It seems OpenAPI refers JSON Schema Specification Wright Draft 00. Which one refers The JavaScript Object Notation (JSON) Data Interchange Format. Which says:
The terms "object" and "array" come from the conventions of JavaScript.
As I understand, array is a subtype of object in terms of JS. And seems object type may be overridden by array type.
Bar object does not generate due to a type mismatch. Seems, provided the specification is valid. Bar object should be generated with array type of property1 property.
Describe the solution you'd like
It seems another approach is required in function _process_properties. This place rejects several valid cases.
Activity