package
Version:
v0.6.7
Opens a new window with list of versions in this module.
Published: Jan 25, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Router struct {
Routes []Route
}
Router helps link http.Request.s and an OpenAPIv3 spec
NewRouter creates a new router.
If the given Swagger has servers, router will use them.
All operations of the Swagger will be added to the router.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.