With Cortex, you can define where API specs live separately from where the code lives:
- If the spec file is checked into Git, then the code and API specs need to be in the same repo
- If the spec file hosted (for example, through SwaggerHub), you can simply provide Cortex with the URL. Learn more with our Swagger API example.
- If the file is in a different repo, use the raw file URL from GitHub and add that link in Cortex.