spec_base

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenAPISpecJSON

func GetOpenAPISpecJSON() ([]byte, error)

GetOpenAPISpecJSON returns the raw OpenAPI spec as JSON bytes.

Types

type DirectBar

type DirectBar = ext_308843ba.Foo

#/components/schemas/DirectBar

type PackedBar

type PackedBar struct {
	ID      *string           `form:"id,omitempty" json:"id,omitempty"`
	Core    *ext_308843ba.Foo `form:"core,omitempty" json:"core,omitempty"`
	Directd *DirectBar        `form:"directd,omitempty" json:"directd,omitempty"`
}

#/components/schemas/PackedBar

func (*PackedBar) ApplyDefaults

func (s *PackedBar) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type PostNoTrouble200Response

type PostNoTrouble200Response struct {
	DirectFoo   *ext_308843ba.Foo `form:"directFoo,omitempty" json:"directFoo,omitempty"`
	DirectBar   *DirectBar        `form:"directBar,omitempty" json:"directBar,omitempty"`
	IndirectFoo *PackedBar        `form:"indirectFoo,omitempty" json:"indirectFoo,omitempty"`
	Name        *string           `form:"name,omitempty" json:"name,omitempty"`
}

#/paths//noTrouble/post/responses/200/content/application/json/schema

func (*PostNoTrouble200Response) ApplyDefaults

func (s *PostNoTrouble200Response) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

Jump to

Keyboard shortcuts

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