-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
The 3.1.1 specs state:
The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12. The empty schema (which allows any instance to validate) MAY be represented by the boolean value true and a schema which allows no instance to validate MAY be represented by the boolean value false.
I was wondering if you had plans to support this functionality? It doesn't seem to work with this simple test case
{
"openapi": "3.1.0",
"info": {
"title": "Any Value Schema Example",
"version": "1.0.0"
},
"paths": {
"/example": {
"get": {
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": true
}
}
}
}
}
}
}
}TypeError: schema is not an Object. (evaluating '"type" in schema')
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels