mcrobbj
6 years agoOccasional Contributor
Swagger 3: Servers - prod doesnt conform to pattern
My route to live environments all follow a standard pattern, however prod doesnt conform is there anyway to change it for prod?
servers:
- url: https://{environment}.mywebsite.com/myendpoint
variables:
environment:
default: api.sit # SIT server
enum:
- api.dev # Development server - https://{environment}.mywebsite.cloud/myendpoint
- api.sit # SITserver - https://{environment}.mywebsite.cloud/myendpoint
- api.uat # UATserver - https://{environment}.mywebsite.cloud/myendpoint
- api.ppe # PPEserver - https://{environment}.mywebsite.cloud/myendpoint
- api # Production server ( https://api.mywebsite.com/myendpoint