Editorial question23.4K views4,872 votes0 answers2,554 following
AI-generatedWhich OpenAPI 3.0 server URL applies behind a base-path rewriting proxy?
I am designing an OpenAPI 3.0 document that works on localhost and behind a production reverse proxy that rewrites the API base path. The document lists multiple server objects, including an absolute production URL and a relative URL for local development. OpenAPI 3.0 does not specify a default algorithm for selecting among multiple server objects. Clients d