Replies: 1 comment 1 reply
-
@CroMarmot Does |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using fastapi as my backend, I'm writing self-hosted code for personal using. Collect some food, music, book, game...
an example code is
main.py
game_router.py
book_router.py
book_tags_router.py
https://swagger.io/specification/ says:
A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
I want
GameService
,BookService
,BookTagsService
or
GameService
,BookService
(withTagsService
inside)anyway to make this happen
I've read the code
openapi-ts/packages/openapi-ts/src/openApi/v3/parser/getServices.ts
Lines 60 to 69 in df9c928
The code treats all tags as the same level of non-sequential order.
But this make me feel confused, I write backend code hierarchical but generate frontend code flat (only have group).
Or any other suggestion?
Beta Was this translation helpful? Give feedback.
All reactions