You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
krunalm
changed the title
Question: x-enumNames is used to display enum values in strings in documentation?
Question: x-enumNames is not used to display possible string enum values for documentation?
Aug 23, 2017
If you want to make a PR to that file, I'll merge it. It would also be great to have a complete but minimal swagger-spec that uses this features, so that I can write a test.
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!
The text was updated successfully, but these errors were encountered: