Skip to content

Question: x-enumNames is not used to display possible string enum values for documentation? #94

@krunalm

Description

@krunalm

Hi,

I have a swagger spec file which have below enum:

"Status": {
"type": "integer",
"description": "",
"x-enumNames": [
"Archived",
"Deleted"
],
"enum": [
1,
2,
]
},

I've generated html documentation using bootprint but i think it is not using "x-enumNames" values to display better enum documentation. The swagger-ui does use this and displays proper string values. I would like to use bootprint as I find it easy, simple to use.

Please let me know if there is a way to do so.

Thanks for great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions