swagger.json is always available at the root path.
Author: vbureninCreated Apr 8, 2016Updated Aug 7, 2026
Labelsenhancementneeds testing
Problem statement
swagger.json document is always available at the root path as http://1.1.1.1/swagger.json I can see why, but I would be happier if it was prefixed by a basePath such as:
Source: go-swagger/go-swagger