Skip to content

Empty tags are displayed by Swagger UI #8

@vemonet

Description

@vemonet

The OpenAPI define translator and reasoner tags for the API (required for proper indexing in the SmartAPI registry)

Unfortunately Swagger UI render them, and there is no plan on changing this behavior. See this issue: swagger-api/swagger-ui#3819

A way to avoid this behavior is to remove the translator and reasoner tags from the openapi.yml file, and fill them directly via the SmartAPI web UI when registering the API. But this require manual operations and create a difference between the OpenAPI definition published and the one registered in SmartAPI

We could change the ReasonerAPI definition to remove query and predicates tags

  • Put the /query call under the reasoner tag
  • Put the /predicates call under the translator tag

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions