Skip to content

[2.0] Operations with multiple tags generated more than once #356

@SirWellington

Description

@SirWellington

When generating HTML with Swagger, operations with multiple tags are generated twice in the HTML.
Example:

"get": {
        "summary": "Get a Thumbnail for an Image",
        "description": "You can customize the size of the thumbnail in the query. Images produced are in the JPEG format.",
        "tags": [
          "Thumbnails", "Images"
        ],
        "consumes": [
          "text/plain"
        ],
        "produces": [
          "image/jpeg"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "container",
            "required": true,
            "type": "string",
            "description": "The Container the Image is in"
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "type": "string",
            "description": "The ID of the Image"
          },
          {
            "in": "query",
            "name": "width",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 100,
            "minimum": 50,
            "maximum": 3000
          },
          {
            "in": "query",
            "name": "height",
            "required": false,
            "type": "integer",
            "format": "int32",
            "default": 100,
            "minimum": 50,
            "maximum": 3000
          }
        ],
        "responses": {
          "200": {
            "description": "The Image existed and the Thumbnail was successfully created"
          },
          "default": {
            "description": "The Thumbnail could not be created",
            "schema": {
              "$ref": "#/definitions/Error"
            }
          }
        }
      }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions