Only OAuth 2.0 defined in the securityDefinitions section should have a value in the security section.
Ensure that your generated OpenAPI document does not include a security section for authentication types that are not OAuth 2.0. Below is an example:
securityDefinitions: some_auth: type: basic - security: - - some_auth: - - write: some - - read: some
Updated 4 months ago