Skip to content

Allow to disable adding the HEAD and OPTIONS endpoints automatically in the Spring Converter #57

Open
@marcelstoer

Description

@marcelstoer

Is your feature request related to one or multiple existing converters?
AFAICS only the Spring Converter is affected.

Describe the solution you'd like
I would like for the HikakuConfig to accept a feature flag that disables the implicit/automatic addition of HEAD and OPTIONS endpoints.

Additional context
I have never seen an OpenAPI contract in the wild that documented the HEAD and OPTIONS endpoints explicitly. Yet, if I don't I can't validate my implementation with hikaku. HikakuConfig#filters are not the correct approach IMO to solve this as I can't distinguish in my filter implementation whether a given HEAD/OPTIONS endpoint is an organic one or one that was added by hikaku.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions