...
OpenAPI Required Properties
By In OpenAPI 3 by default, all object properties are optional. You can specify the required properties Required properties can be identified in the required list:
Code Block | ||||
---|---|---|---|---|
| ||||
components: schemas: Policy: type: object properties: id: type: string name: type: string required: - id |
...