Skip to content

Instantly share code, notes, and snippets.

@olensmar
Last active August 16, 2021 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olensmar/01408305ca61c646c418de8a9961c856 to your computer and use it in GitHub Desktop.
Save olensmar/01408305ca61c646c418de8a9961c856 to your computer and use it in GitHub Desktop.
Kusk OpenAPI Extension example
x-kusk:
cors:
origins:
- http://foo.example
methods:
- POST
- GET
- OPTIONS
path:
base: /petstore/api/v3
trim_prefix: /petstore
service:
name: petstore
port: 8001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment