Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/main/java/io/swagger/petstore/resource/DefinitionResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,7 @@
description = "Find out more",
url = "https://swagger.io"
)
),
@Tag(
name = "store",
description = "Access to Petstore orders",
externalDocs = @ExternalDocumentation(
description = "Find out more about our store",
url = "https://swagger.io"
)
),
@Tag(
name = "user",
description = "Operations about user"
)

}
)
@SecuritySchemes(
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/io/swagger/petstore/resource/PetResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class PetResource {
@GET
@Path("/{petId}")
@Operation(summary = "Find pet by it's identifier.",
tags = {"pets"},
tags = {"pet"},
description = "Returns a pet when 0 < ID <= 10. ID > 10 or non-integers will simulate API error conditions.",
security = {
@SecurityRequirement(name = "petstore_auth", scopes = {"write:pets", "read:pets"}),
Expand Down Expand Up @@ -209,7 +209,7 @@ public Response updatePet(
/* @GET
@Path("/findByStatus")
@Operation(summary = "Finds Pets by status",
tags = {"pets"},
tags = {"pet"},
description = "Multiple status values can be provided with comma seperated strings",
responses = {
@ApiResponse(
Expand Down Expand Up @@ -237,7 +237,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@Operation(summary = "Finds Pets by tags",
tags = {"pets"},
tags = {"pet"},
description = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
responses = {
@ApiResponse(description = "Pets matching criteria",
Expand Down
10 changes: 0 additions & 10 deletions src/main/webapp/code-first/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@
"description" : "Find out more",
"url" : "https://swagger.io"
}
}, {
"name" : "store",
"description" : "Access to Petstore orders",
"externalDocs" : {
"description" : "Find out more about our store",
"url" : "https://swagger.io"
}
}, {
"name" : "user",
"description" : "Operations about user"
} ],
"paths" : {
"/pet" : {
Expand Down
7 changes: 0 additions & 7 deletions src/main/webapp/code-first/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ tags:
externalDocs:
description: Find out more
url: https://swagger.io
- name: store
description: Access to Petstore orders
externalDocs:
description: Find out more about our store
url: https://swagger.io
- name: user
description: Operations about user
paths:
/pet:
put:
Expand Down
Loading