I'm trying to define a query object in OpenAPI 3:
parameters:
- name: query
in: query
schema:
type: object
properties:
id:
type: number
required:
- id
But the example value and schema is not shown in Swagger UI.
Is there a bug or am I missing something?