-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-register routes #46
Comments
I like the fact that the package isn't opinionated on how you use it. Automatically registered routes would make it opinionated though (IMO). Adding an optional config method like config.pyramid_openapi3_register_routes() might be the way, so the routes are still need to be defined in wsgi factory if it's not called. |
Yes please, ... keep that feature optional (if it ever get's implemented) |
Initial implementation released in https://pypi.org/project/pyramid-openapi3/0.12/. |
Would it make sense to have
pyramid_openapi3
automatically register routes for all endpoints defined inopenapi.yaml
? This could be a default behavior so it's easier to get started with and less configuration is needed for simpler APIs.The text was updated successfully, but these errors were encountered: