package
0.3.0
Repository: https://github.com/discord-gophers/goapi-gen.git
Documentation: pkg.go.dev

# Functions

EnsureEverythingIsReferencedJSON200Response is a constructor method for a EnsureEverythingIsReferenced response.
EnsureEverythingIsReferencedJSONDefaultResponse is a constructor method for a EnsureEverythingIsReferenced response.
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Handler creates http.Handler with routing matching OpenAPI spec.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Has additional properties of type int.
Does not allow additional properties.
Allows any additional property.
Has anonymous field which has additional properties.
AdditionalPropertiesObject4_Inner defines model for AdditionalPropertiesObject4.Inner.
Has additional properties with schema for dictionaries.
BodyWithAddPropsJSONBody defines parameters for BodyWithAddProps.
BodyWithAddPropsJSONBody_Inner defines parameters for BodyWithAddProps.
Tests x-go-string.
No description provided by the author
ObjectWithJSONField defines model for ObjectWithJsonField.
Tests x-go-optional-value on the whole object.
Tests x-go-optional-value.
ParamsWithAddPropsParams defines parameters for ParamsWithAddProps.
ParamsWithAddPropsParams_P1 defines parameters for ParamsWithAddProps.
ParamsWithAddPropsParams_P2_Inner defines parameters for ParamsWithAddProps.
RequestBody defines model for RequestBody.
No description provided by the author
No description provided by the author
Response is a common response struct for all the API calls.
ResponseObject defines model for ResponseObject.
SchemaObject defines model for SchemaObject.
ServerInterfaceWrapper converts contexts to parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ParameterName is an interface that is implemented by error types that are relevant to a specific parameter.
ServerInterface represents all server handlers.

# Type aliases

BodyWithAddPropsJSONRequestBody defines body for BodyWithAddProps for application/json ContentType.
EnsureEverythingIsReferencedJSONRequestBody defines body for EnsureEverythingIsReferenced for application/json ContentType.
No description provided by the author