Skip to content

False positive: Operation is missing responses[401] on public endpoints #293

@ericfitz

Description

@ericfitz

I have an API that has a number of public endpoints, even RFC-defined ones like /.well-known/openid-configuration (see RFC 8414). I have properly defined a global security directive and, per openapi guidance, overridden the public endpoints with "security": [].

However, rate-my-openapi is still reporting this as an issue on every public endpoint.

If you want to reproduce, look at report 40c0b4f3-35e2-4913-af7c-d28d7e0dbed7 or you can find my OpenAPI specification here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions