Skip to content

support new format to allow drop downs in swagger-ui #94

@mikee805

Description

@mikee805

recently upgraded our version of swagger4spring-web and our dropdowns stopped working.

according to swagger-api/swagger-ui#685
they have changed format.
{
"name": "status",
"in": "query",
"default": "available",
"enum": [
"alive",
"dead",
"available"
],
"description": "Status values that need to be considered for filter",
"required": true,
"type": "string"
}

currently this is being returned:
{
"name": "status",
"description": "Status values that need to be considered for filter",
"required": true,
"allowMultiple": false,
"dataType": "status",
"allowableValues":
{
"values":
[
"alive",
"dead",
"available"
],
"valueType": "LIST"
},
"paramType": "query",
"paramAccess": ""
}

great library makes our lives easier.

Thanks,
Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions