Skip to content
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

extension: OperationOptions extension #44

Closed
3 tasks done
dobegor opened this issue Jul 24, 2021 · 0 comments · Fixed by #50
Closed
3 tasks done

extension: OperationOptions extension #44

dobegor opened this issue Jul 24, 2021 · 0 comments · Fixed by #50
Assignees
Projects
Milestone

Comments

@dobegor
Copy link
Contributor

dobegor commented Jul 24, 2021

Design and implement an operation-level OpenAPI extension that would allow i.e. disable a specific operation or configure some settings such as CORS or rate limiting on a path-based level.

The definition would perhaps reside in options package. The code to extract it from openapi3.Operation.ExtensionProps would most likely be in spec package.

Features:

  • enable/disable
  • cors origins
  • rate limit in requests per second ?

Issues to implement in generators would follow:

@dobegor dobegor added this to To do in Generators via automation Jul 24, 2021
@dobegor dobegor added this to the 0.0.1 release milestone Jul 24, 2021
@dobegor dobegor changed the title extension: PathOptions extension extension: OperationOptions extension Jul 24, 2021
@kylehodgetts kylehodgetts self-assigned this Jul 26, 2021
@kylehodgetts kylehodgetts moved this from To do to In progress in Generators Jul 26, 2021
Generators automation moved this from In progress to Done Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2 participants