gnostic icon indicating copy to clipboard operation
gnostic copied to clipboard

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

Open ankittk opened this issue 2 years ago • 0 comments

i have a simple message of type

message SampleRequest {
    string test_id = 1;
    map<string, bool> test_state = 2;
}

it was not able to generate in openapi.yaml.

But when I changed from map<string, bool> to string, I saw changes in my openapi.yaml

            parameters:
                - name: testId
                  in: query
                  schema:
                    type: string
                - name: testState
                  in: query
                  schema:
                    type: string

ankittk avatar Sep 19 '23 09:09 ankittk