-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
I'm not entirely certain, but I'm wondering if it's possible to use Swaggo along with this package to document a Mux server without the use of Chi (as seen in most examples). Specifically, I'm interested in documenting a server structured like this:
package main
import (
"net/http"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Hello, World!"))
})
http.ListenAndServe(":8080", mux)
}
In theory, since this follows a net/http structure, it seems feasible that this package could be utilized to document this type of API.
Thanks!
horellana, halon176, umbynos, mesquita, adamakalshchikov and 7 more
Metadata
Metadata
Assignees
Labels
No labels