Documentation
¶
Index ¶
- func LowerFirst(s string) string
- func RefName(ref string) string
- func SafeArgName(s string) string
- func SortedKeys[T any](m map[string]T) []string
- func StatusSuffix(status int) string
- func ToGoName(s string) string
- type Document
- type ErrorResponse
- type Field
- type FieldKind
- type Operation
- type Param
- type Schema
- type SchemaKind
- type Variant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SafeArgName ¶
SafeArgName converts a generated argument name into a valid, non-keyword Go identifier.
Types ¶
type ErrorResponse ¶
type SchemaKind ¶
type SchemaKind string
const ( SchemaObject SchemaKind = "object" SchemaPrimitiveAlias SchemaKind = "primitive_alias" SchemaEnumAlias SchemaKind = "enum_alias" SchemaArrayPrimitive SchemaKind = "array_primitive" SchemaArrayRef SchemaKind = "array_ref" SchemaOneOf SchemaKind = "one_of" )
Click to show internal directories.
Click to hide internal directories.