swagger2markup
swagger2markup copied to clipboard
If two paths with the same tag and path address exist, two first one is skipped
Swagger2Markup version: swagger2markup-gradle-plugin 1.2.0
Problem description:
I realized that my generated markdown document doesn't have a path I recently added to my swagger.yaml. After some debugging, I realized that it's possibly a bug with swagger2markup. When you have two paths with same path address and tag (but different method/summary/description/etc), two first one is overridden. It's likely something to do with groupOperationsByTag but I don't have time to hunt down further. I "fixed" my issue by putting an extra / at the end of one of the paths.
My config:
'swagger2markup.markupLanguage' : 'MARKDOWN',
'swagger2markup.pathsGroupedBy' : 'TAGS',
'swagger2markup.tagOrderBy' : 'AS_IS',
'swagger2markup.operationOrderBy' : 'AS_IS',
'swagger2markup.definitionOrderBy': 'AS_IS',
'swagger2markup.parameterOrderBy' : 'AS_IS',
'swagger2markup.propertyOrderBy' : 'AS_IS',
'swagger2markup.responseOrderBy' : 'AS_IS'
Thx. I have a look at it.