google / google/gnostic

Openapiv3 doesn't able to generate of type map<string, bool> in protobuf

Open
#408 0 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

i have a simple message of type
```protobuf
message SampleRequest {
string test_id = 1;
map test_state = 2;
}
````

it was not able to generate in openapi.yaml.

But when I changed from `map` to `string`, I saw changes in my openapi.yaml
```openapi
parameters:
- name: testId
in: query
schema:
type: string
- name: testState
in: query
schema:
type: string
```

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.