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
How to generate OpenAPI model when application starts? Currently it appears that the OpenAPI model can be configured to be generated at build time and at runtime (but this means when the user first makes a request to the configured REST endpoint). I have a completely different need. I need to generate the OpenAPI model when the application loads and then I need to modify that model per user's request to view the OpenAPI model as we need to filter based on user's permissions/etc?
How to do this?
Also how can I generate/load an OpenAPI model from the Yaml file generated at build time? It's possible I could use this file to create my OpenAPI model but I prefer to generate it a app boot time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How to generate OpenAPI model when application starts? Currently it appears that the OpenAPI model can be configured to be generated at build time and at runtime (but this means when the user first makes a request to the configured REST endpoint). I have a completely different need. I need to generate the OpenAPI model when the application loads and then I need to modify that model per user's request to view the OpenAPI model as we need to filter based on user's permissions/etc?
How to do this?
Also how can I generate/load an OpenAPI model from the Yaml file generated at build time? It's possible I could use this file to create my OpenAPI model but I prefer to generate it a app boot time.
Beta Was this translation helpful? Give feedback.
All reactions