models

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCall

type ApiCall struct {
	Id int

	CurrentPath       string
	MethodType        string
	CurrentApiName    string
	CurrentApiComment string

	PostForm map[string]string

	RequestHeader        map[string]string
	CommonRequestHeaders map[string]string
	ResponseHeader       map[string]string
	RequestUrlParams     map[string]string

	RequestBody        string
	RequestBodyComment map[string]string
	ResponseBody       string
	ResponseCode       int
}

type ApiSpec

type ApiSpec struct {
	HttpVerb          string
	Path              string
	CurrentApiName    string
	CurrentApiComment string
	Calls             []ApiCall
}

type Spec

type Spec struct {
	ApiSpecs []ApiSpec
}

Jump to

Keyboard shortcuts

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