Skip to content

Enum with maxlength/minlength  #2153

@shwetashukla

Description

@shwetashukla

Hi

Should maxlength/minlength be valid attributes with enum?

"status": {
"type": "string",
"description": "pet status in the store",
"maxLength": 12,
"enum": [
"available",
"pending",
"sold"
]
}

Thanks
Shweta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions