Documentation
¶
Overview ¶
A program that generates OpenAPI documentation for a Go server. It reads all `server.AddHandler` calls in the codebase and generates OpenAPI documentation based on the registered handlers.
The format is as follows it scans through: server.AddHandler("GET ...", func(w, r) { ... }) It looks at the usage of `server.ParseRequest` to determine the request structure and the response structure is based on how the `WriteJSON` and `WriteError` functions are used in the handler.
Click to show internal directories.
Click to hide internal directories.