Closed
Description
OpenAPI Specification versions: 3.0.0, 3.0.1
The Example Object Example section demonstrates the usage of the examples
(plural) keyword inside a schema:
# in a model
schemas:
properties:
name:
type: string
examples:
name:
$ref: http://example.org/petapi-examples/openapi.json#/components/examples/name-example
However, the Schema Object description only mentions the example
keyword (singular) but not examples
(plural).
Is examples
actually supported inside schemas?
Or is the abovementioned example invalid?
Metadata
Metadata
Assignees
Labels
No labels