MaastrichtU-IDS / translator-openpredict

🔮🐍 A package to help serve predictions of biomedical concepts associations as Translator Reasoner API
https://openpredict.semanticscience.org
MIT License
11 stars 6 forks source link

Empty tags are displayed by Swagger UI #8

Closed vemonet closed 4 years ago

vemonet commented 4 years ago

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: https://github.com/swagger-api/swagger-ui/issues/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

vemonet commented 4 years ago

Fixed by editing the tags in openapi.yml