mcrobbjOccasional Contributor5 years agoSwagger 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 ...Show More
HKosovaSmartBear Alumni (Retired)5 years agoYou can add the production server as a separate item in the servers list.
Related ContentSwagger UI deployment weblogic serverCertificates does not conform to algorithm constraintsUsing AWS Gateway API keys for testing real servers on Swagger UIswagger- specific_ApiSwagger Response In Array
Recent DiscussionsHow to generate primitive types instead of wrapper classes.Swagger CodeGen declares multiple JSON fields named 'type'Swagger UI not filling multiple route paramsHow to refer to models from different packages in auto generated class? Like PageableHow to generate domain object relationships e.g. oneToMany.