bug2013

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 Base

type Base struct {
	// Kind of thing.
	//
	// enum: a,b,c
	Kind string `json:"kind"`
}

Base is embedded; the #2013 panic (index out of range in SetEnum) occurred in buildEmbedded while parsing an enum on a promoted field.

type Thing

type Thing struct {
	Base
	// Status of the thing.
	//
	// enum: open,closed
	Status string `json:"status"`
}

Thing embeds Base and carries its own enum field.

swagger:model

Jump to

Keyboard shortcuts

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