package
2.0.5+incompatible
Repository: https://github.com/sakura-internet/goa.git
Documentation: pkg.go.dev
# Functions
APISchema produces the API JSON hyper schema.
AttributeTypeSchema produces the JSON schema corresponding to the given attribute.
AttributeTypeSchemaWithPrefix produces the JSON schema corresponding to the given attribute and adds the provided prefix to the type name.
ExtensionsFromExpr generates swagger extensions from the given meta expression.
GenerateResultTypeDefinition produces the JSON schema corresponding to the given media type and given view.
GenerateServiceDefinition produces the JSON schema corresponding to the given service.
GenerateTypeDefinition produces the JSON schema corresponding to the given type.
GenerateTypeDefinitionWithName produces the JSON schema corresponding to the given type with provided type name.
NewSchema instantiates a new JSON schema.
NewV2 returns the OpenAPI v2 specification for the given API.
ResultTypeRef produces the JSON reference to the media type definition with the given view.
ResultTypeRefWithPrefix produces the JSON reference to the media type definition with the given view and adds the provided prefix to the type name.
TypeRef produces the JSON reference to the type definition.
TypeRefWithPrefix produces the JSON reference to the type definition and adds the provided prefix to the type name.
TypeSchema produces the JSON schema corresponding to the given data type.
TypeSchemaWithPrefix produces the JSON schema corresponding to the given data type and adds the provided prefix to the type name.
# Constants
Array represents a JSON array.
Boolean represents a JSON boolean.
File is an extension used by Swagger to represent a file download.
Integer represents a JSON number without a fraction or exponent part.
Null represents the JSON null value.
Number represents any JSON number.
Object represents a JSON object.
SchemaRef is the JSON Hyper-schema standard href.
String represents a JSON string.
# Variables
Definitions contains the generated JSON schema definitions.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author