We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdc0704 commit a232dc1Copy full SHA for a232dc1
openapi/openapi.go
@@ -95,6 +95,7 @@ func (s *OpenAPI) AddSecurityScheme(name string, scheme spec.SecurityScheme) {
95
// Serve handles the docs, openapi.json, and server.js
96
func (s *OpenAPI) Serve() {
97
98
+ s.makeIndexHTML(s.Path, indexHTML)
99
s.cleanSpec()
100
101
s.mux.HandleFunc(fmt.Sprintf("%s/openapi.json", s.Path), func(w http.ResponseWriter, req *http.Request) {
0 commit comments