openapi

package
v0.0.0-...-97189e1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSpecReader

func NewSpecReader(spec ApiSpec) (*html.Node, error)

NewSpecReader uses ApiSec to prepare html API spec template

Types

type ApiSpec

type ApiSpec struct {
	Host string `json:"host"`
	Path string `json:"path"`
}

ApiSpec represents a struct used to complete html API spec template

Jump to

Keyboard shortcuts

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