spec

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package spec provides primitives to interact the openapi HTTP API.

Code generated by github.com/pseudo-su/oapi-ui-codegen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOauth2RedirectPage

func GetOauth2RedirectPage(specURL string, redirectURL string) ([]byte, error)

GetOauth2RedirectPage returns the oauth2 redirect page corresponding to the generated code in this file.

func GetOpenAPISpec

func GetOpenAPISpec() (*openapi3.T, error)

GetOpenAPISpec returns the Swagger specification corresponding to the generated code in this file.

func GetSwaggerUIPage

func GetSwaggerUIPage(specURL string, redirectURL string) ([]byte, error)

GetSwaggerUIPage returns the openapi specification corresponding to the generated code in this file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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