google / google/gnostic

openapiv3 tags

Open
#363 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

After setting the tag, why not overwrite the original default but recreate the tag,
proto file:
```protobuf
service Test {
rpc CreateTest (CreateTestRequest) returns (CreateTestReply) {
option (google.api.http) = {
post: "/api/test",
body: "*"
};
option (openapi.v3.operation) = {
tags: ["TS1"],
};
}
}
```
yaml file:
```yaml
paths:
/api/test:
post:
tags:
- Test
- TS1
..................
```
How do I do it, please, Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.