bug2985

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 bug2985 reproduces go-swagger issue #2985 ("Need minAttributes and maxAttributes in the swagger:model annotation"): code-to-spec lacks minProperties / maxProperties support that spec-to-code already has.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyObjectType

type MyObjectType map[string]interface{}

MyObjectType is a free-form object with property-count bounds.

minProperties: 1 maxProperties: 10

swagger:model MyObjectType

Jump to

Keyboard shortcuts

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