-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
protobuff like this
option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = {
info: {
title: "Example code"
version: "1.0"
contact: {
name: "project"
url: "https://github.com/codesprut/project"
email: "email@gmail.com"
}
}
schemes: HTTP
schemes: HTTPS
consumes: "application/json"
produces: "application/json"
}
Produce:
Error: Duplicate option map key schemes
at onoptionMap (\node_modules\protocol-buffers-schema\parse.js:459:43)
at onoption (\node_modules\protocol-buffers-schema\parse.js:421:19)
at Function.parse (\node_modules\protocol-buffers-schema\parse.js:664:19)
psanders
Metadata
Metadata
Assignees
Labels
No labels