REST API and enum type in query parameter


Sorry for my english.
I have Visual Paradigm 16.3 and I try to modelize a REST API in a class diagram. Then, I generate swagger. Every thing works fine. Nevertheless, I would like to modelize this case in Visual Paradigm:

- in: query
name: sort
description: Sort order
required: false
type: string
enum: [asc, desc]

How to specify the enum type for the query parameter in a class diagram?

Thank you in advance for you response.

Best regards,


I’m sorry that currently we do not support enum parameter for REST API. We will consider to support this and I’ll keep you post once there any update on it.

Thank you. Do you know when this enhancement will be pushed?