Skip to content

Commit

Permalink
Fix name tags in methods (#3843)
Browse files Browse the repository at this point in the history
* [Bug #3829] consider openapiv2_tag.name attribute when generating openapi docs

* fix tags in methods

* fixup

* generated

* fixup

* fu

* fixup of code

* ran bazel build command

* weird test is flakey
  • Loading branch information
omrikiei committed Dec 29, 2023
1 parent 4c10d2a commit 19f5377
Show file tree
Hide file tree
Showing 7 changed files with 985 additions and 946 deletions.
1 change: 1 addition & 0 deletions examples/internal/clients/abe/BUILD.bazel
Expand Up @@ -5,6 +5,7 @@ package(default_visibility = ["//visibility:public"])
go_library(
name = "abe",
srcs = [
"api_a_bit_of_everything.go",
"api_a_bit_of_everything_service.go",
"api_camel_case_service_name.go",
"api_echo_rpc.go",
Expand Down
8 changes: 4 additions & 4 deletions examples/internal/clients/abe/api/swagger.yaml
Expand Up @@ -1401,7 +1401,7 @@ paths:
/v1/example/a_bit_of_everything/query/{uuidName}:
get:
tags:
- "ABitOfEverythingService"
- "ABitOfEverything"
operationId: "ABitOfEverythingService_GetQuery"
parameters:
- name: "uuidName"
Expand Down Expand Up @@ -4049,7 +4049,7 @@ paths:
$ref: "#/definitions/rpcStatus"
delete:
tags:
- "ABitOfEverythingService"
- "ABitOfEverything"
operationId: "ABitOfEverythingService_Delete"
parameters:
- name: "uuid"
Expand Down Expand Up @@ -4869,7 +4869,7 @@ paths:
/v2/example/overwriterequestcontenttype:
post:
tags:
- "ABitOfEverythingService"
- "ABitOfEverything"
operationId: "ABitOfEverythingService_OverwriteRequestContentType"
consumes:
- "application/x-bar-mime"
Expand Down Expand Up @@ -4909,7 +4909,7 @@ paths:
/v2/example/overwriteresponsecontenttype:
get:
tags:
- "ABitOfEverythingService"
- "ABitOfEverything"
operationId: "ABitOfEverythingService_OverwriteResponseContentType"
produces:
- "application/text"
Expand Down

0 comments on commit 19f5377

Please sign in to comment.