docgen

package
v0.0.7-gamma05 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDocs

func GetDocs()

Types

type BestProjectionFirstStrategy

type BestProjectionFirstStrategy struct {
	// contains filtered or unexported fields
}

func (*BestProjectionFirstStrategy) GetResources

type BodyAttributes

type BodyAttributes struct {
	BodySchema *openapi3.SchemaRef
	MediaType  string
}

type EndpointDimensions

type EndpointDimensions struct {
	OperationDimensions
	HttpVerb  string
	PathUrl   string
	Operation *openapi3.Operation
	PathItem  *openapi3.PathItem
}

type IResourcesExtractorStrategy

type IResourcesExtractorStrategy interface {
	GetResources(*openapi3.T) (*openapistackql.ResourceRegister, error)
}

func NewNaiveResourcesExtractor

func NewNaiveResourcesExtractor() IResourcesExtractorStrategy

type OperationDimensions

type OperationDimensions struct {
	RequestBody  BodyAttributes
	ResponseBody ResponseBodyAttributes
}

type ResponseBodyAttributes

type ResponseBodyAttributes struct {
	BodyAttributes
	ResponseCode string
}

Jump to

Keyboard shortcuts

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