Discover Packages
github.com/astrate-platform/astrate
internal
swagger
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Sep 4, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package swagger serves the embedded Swagger UI and OpenAPI YAML specs at
/swagger/ and /api/ respectively.
Mount registers the /swagger and /api routes on the given mux.
/swagger redirects to /swagger/index.html; /swagger/ serves the static UI;
/api/ serves the OpenAPI YAML specs.
Specs returns the list of available YAML spec filenames (without path prefix).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.