erunion / mill

☴ An annotation-based DSL for documenting a REST API.
MIT License
39 stars 2 forks source link

Improper handling of enum descriptions on parameter tokens #234

Open erunion opened 5 years ago

erunion commented 5 years ago
* @api-queryParam:public {filter}
*      + Members
*          - `embeddable`
*          - `conditional_featured` - Featured (promoted) videos
-
    description: "The attribute by which to filter the results.\n\nOption descriptions:\n * `conditional_featured` - Featured (promoted) videos\n"
    in: query
    name: filter
    required: false
    schema:
    type: string
    enum:
        - conditional_featured
        - embeddable