K
K
khomaldi2022-04-12 01:23:04
API
khomaldi, 2022-04-12 01:23:04

How to bring nesting to OpenAPI/Swagger UI?

hello. according to this SO , nested tags have not been delivered to openapi and are not planned.

I will describe an example. there is an api gateway, which contains documentation of services in its documentation. such a picture emerges

docs
___ microservice_1
______ endpoint_1
______ endpoint_2
___ microservice_2
______ endpoint_1
______ endpoint_2


it turns out that I can not achieve such a hierarchy with openapi
docs
___ microservice_1
______ group_1
_________ endpoint_1
_________ endpoint_2
______ group_2
_________ endpoint_1
_________ endpoint_2
___ microservice_2
______ group_1
_________ endpoint_1
_________ endpoint_2
______ group_2
_________ endpoint_1
_________ endpoint_2


Can you please tell me how you solve this problem? do you use analogs?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question