-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
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"
}
}
}
}