bug1737

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AResponse

type AResponse struct {
	// in: body
	Body AResponseBody
}

AResponse is the body response wrapping AResponseBody.

swagger:response aResponse

type AResponseBody

type AResponseBody struct {
	// SomeID description that the reporter wants to keep.
	SomeID ObjectID `json:"someId"`
}

AResponseBody carries a field whose type resolves to a $ref. The reporter found the field-level description was dropped because a Swagger 2.0 property that is a bare $ref cannot carry sibling keys.

type ObjectID

type ObjectID struct {
	Hex string `json:"hex"`
}

ObjectID stands in for an external named type (e.g. bson.ObjectId) that codescan turns into its own definition (go-swagger#1737).

swagger:model

Jump to

Keyboard shortcuts

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