Documentation
¶
Overview ¶
Package transparentalias provides fixtures to exercise transparent alias handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryValue ¶
type QueryValue string
QueryValue is the base type used for aliasing query parameters.
type QueryValueAlias ¶
type QueryValueAlias = QueryValue
QueryValueAlias is an exported alias to QueryValue.
type ResponseEnvelope ¶
type ResponseEnvelope struct {
// Payload uses an alias that should resolve transparently.
Payload TransparentPayloadAlias `json:"payload"`
}
ResponseEnvelope is the canonical struct referenced by aliases in responses.
type ResponseEnvelopeAlias ¶
type ResponseEnvelopeAlias = ResponseEnvelope
ResponseEnvelopeAlias is an exported alias to ResponseEnvelope.
type TransparentAliasParams ¶
type TransparentAliasParams = transparentAliasParams
TransparentAliasParams is an exported alias annotated as swagger parameters.
swagger:parameters transparentAlias
type TransparentAliasResponse ¶
type TransparentAliasResponse = transparentAliasResponse
TransparentAliasResponse is an exported alias annotated as swagger response.
swagger:response transparentAliasResponse
type TransparentPayload ¶
type TransparentPayload struct {
// ID of the payload.
//
// required: true
ID int64 `json:"id"`
// Name of the payload.
Name string `json:"name"`
}
TransparentPayload is the canonical struct referenced by aliases in tests.
swagger:model TransparentPayload
type TransparentPayloadAlias ¶
type TransparentPayloadAlias = TransparentPayload
TransparentPayloadAlias is an exported alias to TransparentPayload.