Only first element of Enum list is displayed instead of Entire list in Swagger
问题 Below is the generated YAML from python execution requestBody: content: application/json: schema: properties: element_ids: items: type: string type: array element_type: items: enum: - NC - CELL type: string type: array expires_in: format: int32 type: integer group_id: type: string required: - element_ids - element_type - expires_in - group_id I have provided my enum values in the form of list. I see only NC in the swagger(3.0.0) shown below 回答1: Your spec is correct. "Example Value" displays