converter

package
v0.0.0-...-9b54b35 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 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 Api

type Api struct {
	ApiClients []ApiClient
	ApiModels  []ApiModel
}

type ApiClient

type ApiClient struct {
	Name    string
	Imports []string
	Methods []ApiClientMethod
}

type ApiClientMethod

type ApiClientMethod struct {
	Name                   string
	IsNameMatchedFromRegex bool
	Url                    string
	Method                 string
	RequestContentType     string
	ResponseContentType    string
	AllParameters          []ApiClientMethodParameterOrBody
	QueryParameters        []ApiClientMethodParameterOrBody
	RequestBody            *ApiClientMethodParameterOrBody
	Response               ApiClientMethodResponse
}

type ApiClientMethodParameterOrBody

type ApiClientMethodParameterOrBody struct {
	Name               string
	Type               string
	IsInPath           bool
	IsInQuery          bool
	IsArrayOfType      bool
	IsDictionaryOfType bool
	Nullable           bool
}

type ApiClientMethodResponse

type ApiClientMethodResponse struct {
	Type               string
	IsArrayOfType      bool
	IsDictionaryOfType bool
	Nullable           bool
}

type ApiModel

type ApiModel struct {
	Name       string
	Imports    []string
	IsEnum     bool
	Properties []ApiModelProperty
	EnumItems  []ApiModelEnumItem
}

type ApiModelEnumItem

type ApiModelEnumItem struct {
	Name  string
	Value int
}

type ApiModelProperty

type ApiModelProperty struct {
	Name               string
	Type               string
	IsArrayOfType      bool
	IsDictionaryOfType bool
	Nullable           bool
}

Jump to

Keyboard shortcuts

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