mirror of
https://github.com/davidebianchi/gswagger.git
synced 2025-12-23 23:38:43 -05:00
836 B
836 B
gorilla swagger
Initial test&try to generate a swagger dynamically.
It uses gorilla-mux and kin-openapi to automatically generate and serve a swagger file.
To convert struct to schemas, we use this library. The struct should contains the appropriate struct tags to be inserted in json schema.
FAQ
- How to add format
binary? Formatsdate-time,email,hostname,ipv4,ipv6,uricould be added with tagjsonschema. Others format could be added with tagjsonschema_extra. Not all the formats are supported (see discovered unsupported formats here).
Discovered unsupported schema features
Formats:
uuidis unsupported by kin-openapi