Open titpetric opened 4 months ago
does such a schema exist?
Not for go-httpbin specifically. We could consider starting from the official https://httpbin.org/spec.json swagger schema, but it's a bit outdated (using an older Swagger version rather than a newer OpenAPI version) and would need to be at least lightly adapted to go-httpbin's slightly different set of endpoints.
(It also does not specify response types, but maybe that's okay in this context!)
is there already a way to request it?
Nope, would you like to take a pass at adding such a thing?
For an initial effort, this is the converted Swagger to openAPI 3.0.x
As a user I'd like a swagger schema for the known APIs to be provided on /swagger.yml (or appropriate path) by the service itself.