package
Version:
v0.0.0-...-e87c2fb
Opens a new window with list of versions in this module.
Published: Mar 2, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetOpenAPISpecJSON returns the raw OpenAPI spec as JSON bytes.
type Bar struct {
Field2 *string `form:"field2,omitempty" json:"field2,omitempty"`
}
#/components/schemas/bar
func (s *Bar) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type Foo struct {
Field1 *string `form:"field1,omitempty" json:"field1,omitempty"`
}
#/components/schemas/foo
func (s *Foo) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.