Skip to content

Swagger core 1.5 does not allow spec filtering of definitions #2809

@shauera

Description

@shauera

We have a use case in which we want to produce different swagger docs derived from the same API. Implementing the AbstractSpecFilter is what we need. However, it lacks the hook for filtering specific definitions. Using isRemovingUnreferencedDefinitions is too broad for our use case.

We suggest add an isDefinitionAllowed method to address this use case.

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