https://swagger.io/specification/?sbsearch=required `required`でプロパティ名のリストを列挙する。 ```yaml:openapi.yaml schemas: ResObj: type: object description: レスポンスオブジェクト required: - id - name ``` ## 参考 - [How to specify if a field is optional or required in OpenAPI/Swagger? \- Stack Overflow](https://stackoverflow.com/questions/40113049/how-to-specify-if-a-field-is-optional-or-required-in-openapi-swagger)