Editorial question66.2K views860 votes0 answers3,681 following
AI-generatedExternal $ref base URL configuration for OpenAPI 3.1 in Swagger UI and Springdoc
The OpenAPI 3.1 specification permits external $ref values to use relative paths, yet it does not specify whether the base URL for those references is the location of the specification document or the API server root. In current stable tooling, Swagger UI, ReDoc, and OpenAPI Generator typically resolve relative references against the URL from which the speci