-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
impl(generator): handle OpenAPI map types
OpenAPI does not really have `map<..>` types like Protobuf, but it has `object` fields sometimes with restrictions on the value type. If one squints, `object` is equivalent to `google.protobuf.Any`. And an JSON object where the values can only be `int32` is the same as `map<string, int32>`.
- Loading branch information
Showing
2 changed files
with
267 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters