You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our api services exposes different endpoints to separate users traffic:
/public /internal
They all described in one OpenAPi schema, since they are served from one microservice.
The endpoints on these prefixes are consumed by completely different application.
I want to generate types and sdks only for the /public prefixed endpoints. I was able to achieve that, but generator still generate all component types for all entities used in /internal endpoint.
What i want is to have a reference count feature for components in OpenApi schema, and if it's not used anywhere it will not be generated.
Currently this is very hard to achieve using exclude/include feature, because you need to list all type names one by one.
The text was updated successfully, but these errors were encountered:
Description
Our api services exposes different endpoints to separate users traffic:
/public
/internal
They all described in one OpenAPi schema, since they are served from one microservice.
The endpoints on these prefixes are consumed by completely different application.
I want to generate types and sdks only for the
/public
prefixed endpoints. I was able to achieve that, but generator still generate all component types for all entities used in/internal
endpoint.What i want is to have a reference count feature for components in OpenApi schema, and if it's not used anywhere it will not be generated.
Currently this is very hard to achieve using
exclude/include
feature, because you need to list all type names one by one.The text was updated successfully, but these errors were encountered: