Replies: 2 comments
-
I think most people would use tags for this sort of thing. It's then up to tools to define how they can use tags, and whether you need to do some sort of configuration to distinguish between (for example) namespacing tags vs other uses of tags. But tags is how people group operations in documentation, for example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
No further comments in several months; closing. If there's a desire to follow-up further, I'd suggest looking at:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a large API defined in Python using Pydantic/FastAPI. On the Python side the schemas/paths are neatly structure into separate python modules (e.g.
users.py
for/users
and all its schemas). We'd like to generate an OpenAPI client* (e.g. for TypeScript) that is similarly well organized but it doesn't seem possible to preserve enough information in the OpenAPI spec such that a client that uses namespaces can be generated.* I'm fine writing my own client generator. The issue is more whether OpenAPI is too lossy to be able to do so.
Beta Was this translation helpful? Give feedback.
All reactions