swagger

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package swagger Code generated by swaggo/swag. DO NOT EDIT

Package swagger pkg/swagger/embed.go

Index

Constants

This section is empty.

Variables

View Source
var SwaggerFiles embed.FS
View Source
var SwaggerInfo = &swag.Spec{
	Version:          "1.0",
	Host:             "",
	BasePath:         "/",
	Schemes:          []string{"http", "https"},
	Title:            "ServiceRadar API",
	Description:      "API for monitoring and managing service gateways in the ServiceRadar system",
	InfoInstanceName: "swagger",
	SwaggerTemplate:  docTemplate,
	LeftDelim:        "{{",
	RightDelim:       "}}",
}

SwaggerInfo holds exported Swagger Info so clients can modify it

Functions

func GetSwaggerHandler

func GetSwaggerHandler() http.Handler

GetSwaggerHandler returns an http.Handler that serves the embedded Swagger files.

func GetSwaggerJSON

func GetSwaggerJSON() ([]byte, error)

GetSwaggerJSON returns the swagger.json content as a byte slice.

func GetSwaggerYAML

func GetSwaggerYAML() ([]byte, error)

GetSwaggerYAML returns the swagger.yaml content as a byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL