output

package
v0.0.0-...-bb4e2af Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: Apache-2.0 Imports: 6 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 ComplexObject

type ComplexObject struct {
	Object  Object `json:"Object" form:"Object"`
	ID      int    `json:"Id" form:"Id"`
	IsAdmin bool   `json:"IsAdmin" form:"IsAdmin"`
}

#/components/schemas/ComplexObject

func (*ComplexObject) ApplyDefaults

func (s *ComplexObject) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type GetEnumsParameter

type GetEnumsParameter int

#/paths//enums/get/parameters/0/schema

const (
	N100 GetEnumsParameter = 100
	N200 GetEnumsParameter = 200
)

type Object

type Object struct {
	Role      string `json:"role" form:"role"`
	FirstName string `json:"firstName" form:"firstName"`
}

#/components/schemas/Object

func (*Object) ApplyDefaults

func (s *Object) 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