component

package
v0.0.0-...-fff57cb Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Components

type Components struct {
	Schemas         map[string]*json.RawMessage      `json:"schemas,omitempty" yaml:"schemas,omitempty"`
	Responses       map[string]operation.Response    `json:"responses,omitempty" yaml:"responses,omitempty"`
	Parameters      map[string]parameter.Parameter   `json:"parameters,omitempty" yaml:"parameters,omitempty"`
	Examples        map[string]parameter.Example     `json:"examples,omitempty" yaml:"examples,omitempty"`
	RequestBodies   map[string]operation.RequestBody `json:"requestBodies,omitempty" yaml:"requestBodies,omitempty"`
	Headers         *json.RawMessage                 `json:"headers,omitempty" yaml:"headers,omitempty"`
	SecuritySchemes *json.RawMessage                 `json:"securitySchemes,omitempty" yaml:"securitySchemes,omitempty"`
	Links           *json.RawMessage                 `json:"links,omitempty" yaml:"links,omitempty"`
	Callbacks       *json.RawMessage                 `json:"callbacks,omitempty" yaml:"callbacks,omitempty"`
}

type Example

type Example struct {
	*json.RawMessage
}

func (Example) GenerateSchema

func (e Example) GenerateSchema() (schema Schema)

type Schema

type Schema struct {
	*json.RawMessage
}

func (Schema) GenerateExample

func (s Schema) GenerateExample() (example Example)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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