kubeshop / kusk-gen

Kusk Gen generates Ingress-controller configurations from your OpenAPI definition
https://kubeshop.github.io/kusk-gen
MIT License
173 stars 12 forks source link

extension: OperationOptions extension #44

Closed dobegor closed 3 years ago

dobegor commented 3 years ago

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:

Issues to implement in generators would follow: