package
0.19.0
Repository: https://github.com/rws-github/go-swagger.git
Documentation: pkg.go.dev

# Structs

An AllOfModel is composed out of embedded structs but it should build an allOf property.
A BaseStruct is a struct that has subtypes.
Cars is a collection of cars swagger:model cars.
A ComplexerOne is composed of a SimpleOne and some extra fields.
An Embedded is to be embedded in EmbeddedStarExpr.
An EmbeddedStarExpr for testing the embedded StarExpr.
A FormattedModel is a struct with only strfmt types It only has values 1 level deep and is used for testing the conversion.
A Gazelle is a struct is discriminated for BaseStruct.
A Giraffe is a struct that embeds BaseStruct the annotation is not necessary here because of inclusion of a discriminated type it infers the name of the x-class value from its context swagger:model giraffe.
IgnoredFields demostrates the use of swagger:ignore on struct fields.
An Interfaced struct contains objects with interface definitions.
JSONString has fields with ",string" JSON directives.
A MapTastic struct contains only maps the values of the maps are structs, primitives or string formats there is also a pointer version of each property.
The ModelA version of the tesla car swagger:model modelA.
The ModelS version of the tesla car swagger:model modelS.
The ModelX version of the tesla car swagger:model modelX.
NoModel is a struct without an annotation.
A OtherTypes struct contains type aliases.
An OverridingOne is composed of a SimpleOne and overrides a field.
An OverridingOneIgnore is composed of a SimpleOne and overrides a field to ignore it.
Pointdexter is a struct with only pointers.
A PrimateModel is a struct with nothing but builtins.
A SimpleComplexModel is a struct with only other struct types It doesn't have slices or arrays etc but only complex types so also no primitives or string formatters.
A SimpleOne is a model with a few simple fields.
A SliceAndDice struct contains only slices the elements of the slices are structs, primitives or string formats there is also a pointer version of each property.
A Something struct is used by other structs.
StoreOrder represents an order in this application.
User represents the user for this application A user is the security principal for this application.

# Interfaces

Fish represents a base type implemented as interface the nullary methods of this interface will be included as swagger:model fish.
Identifiable is an interface for things that have an ID.
TeslaCar is a tesla car swagger:model.
WaterType is an interface describing a water type swagger:model water.

# Type aliases

SomeArrayStringMap is a type that refines a array of strings value map.
SomeIntMap is a type that refines an int value map.
SomeIntsType is a type that refines []int64.
SomeIntType is a type that refines int64.
SomeIntTypeAlias is a type that refines int64 swagger:alias.
SomeObject is a type that refines an untyped map.
SomePettedMap is a type that refines a pet value map.
SomePettedsType is a type that refines mods.Pet.
SomePettedType is a type that refines mods.Pet.
SomeSomethingMap is a type that refines a Something value map.
SomeStringMap is a type that refines a string value map.
SomeStringsType is a type that refines []string.
SomeStringType is a type that refines string.
SomeStringTypeAlias is a type that refines string swagger:alias.
SomethingsType is a type that refines a type contained in the same package.
SomethingType is a type that refines a type contained in the same package.
SomeTimedMap is a type that refines an strfmt.DateTime value map.
SomeTimedsType is a type that refines strfmt.DateTime.
SomeTimedType is a type that refines strfmt.DateTime.
SomeTimeMap is a type that refines a time.Time value map swagger:strfmt date-time.
SomeTimesType is a type that refines time.Time swagger:strfmt date-time.
SomeTimeType is a type that refines time.Time swagger:strfmt date-time.