Last active
August 16, 2021 09:39
-
-
Save olensmar/01408305ca61c646c418de8a9961c856 to your computer and use it in GitHub Desktop.
Kusk OpenAPI Extension example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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