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
This type definition has been in use since before OpenAPI was supported, so it's outdated now.
At that time, only JSON Schema was considered, so the type of content is only JsonSchema.
Now, it would be better to use type and openApiVersion to set the content type to the correct one (JsonSchemaDraft04.Schema, JsonSchemaDraft07.Schema, OpenApisV2.SchemaJson or OpenApisV3.SchemaJson).
In this interface:
...
content
is typed asJsonSchema
, butJsonSchema
does not have acomponents
property – is it supposed to beSchemaJson
?The text was updated successfully, but these errors were encountered: