alias_response

package
v0.36.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package alias_response exercises response-level top-alias handling. It is scanned with RefAliases=true because the non-transparent expand path on top-level response aliases is not supported by the scanner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasedTopResponse

type AliasedTopResponse = exportedResponse

AliasedTopResponse annotates an alias as the response: the scanner resolves it via responseBuilder.buildAlias under RefAliases=true.

swagger:response aliasedTopResponse

type AliasedTopResponse2

type AliasedTopResponse2 = AliasedTopResponse

AliasedTopResponse2 chains AliasedTopResponse through a second alias.

swagger:response aliasedTopResponse2

type Envelope

type Envelope struct {
	// required: true
	ID int64 `json:"id"`

	Name string `json:"name"`
}

Envelope is the canonical response body type.

swagger:model Envelope

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL