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
Click to show internal directories.
Click to hide internal directories.