Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#477·go-swagger

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:

http://1.1.1.1/v1/swagger.json

Source: go-swagger/go-swagger

View original on GitHubView discussion on GitHub