swagger2markup icon indicating copy to clipboard operation
swagger2markup copied to clipboard

If two paths with the same tag and path address exist, two first one is skipped

Open cihati opened this issue 8 years ago • 1 comments

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'

cihati avatar Feb 27 '17 17:02 cihati

Thx. I have a look at it.

RobWin avatar Mar 02 '17 15:03 RobWin