It is possible to import various UDG examples from the official Tyk examples repository.
There are currently 2 ways of importing an example into Tyk:
- Using tyk-sync
- Manually import via Dashboard API Import
Import via tyk-sync
Please follow the tyk-sync documentation to learn more about this approach.
Import via Dashboard API Import
Navigate to an example inside the examples repository and grab the relevant API definition from there.
Then you can move in the Dashboard UI to
APIs -> Import API and select
Tyk API as source format.
Paste the API definition inside the text box and hit
You can find more detailed instructions in the Dashboard API Import documentation section.