biocad / openapi3

OpenAPI 3.0 data model
BSD 3-Clause "New" or "Revised" License
39 stars 54 forks source link

_operationSecurity should be Maybe #14

Open Elewyth opened 3 years ago

Elewyth commented 3 years ago

According to the documentation (and the intended usage, as far as I understand), the type of _operationSecurity on the Operation data-type should be Maybe [SecurityRequirement], rather than [SecurityRequirement]. Setting this attribute to Just [] should remove all globally declared security requirements from a particular operation, which currently does not seem possible.