File tree Expand file tree Collapse file tree
tools/proto-convert/src/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
77
88### Changed
99- Mark ` OperationContainer ` as required in ` BulkRequestBody ` ([ #165 ] ( https://github.com/opensearch-project/opensearch-protobufs/pull/165 )
10-
10+ - Tooling convert number type to ` GeneralNumber ` ( [ # 170 ] ( https://github.com/opensearch-project/opensearch-protobufs/pull/170 )
1111### Removed
1212- Remove ` REFRESH_BOOLEAN ` from ` Refresh ` enum ([ #166 ] ( https://github.com/opensearch-project/opensearch-protobufs/pull/166 )
1313- Remove ` VERSION_TYPE_FORCE ` from ` VersionType ` enum ([ #167 ] ( https://github.com/opensearch-project/opensearch-protobufs/pull/167 )
Original file line number Diff line number Diff line change @@ -15,5 +15,6 @@ inlineSchemaOptions:
1515typeMappings :
1616 object : " ObjectMap"
1717 AnyType : " ObjectMap"
18+ number : " GeneralNumber"
1819openapiGeneratorIgnoreList :
1920 - " README.md"
Original file line number Diff line number Diff line change @@ -20,4 +20,13 @@ message ObjectMap {
2020 // Repeated field of dynamically typed values.
2121 repeated Value value = 1;
2222 }
23- }
23+ }
24+
25+ message GeneralNumber {
26+ oneof value{
27+ int32 int32_value = 1;
28+ int64 int64_value = 2;
29+ float float_value = 3;
30+ double double_value = 4;
31+ }
32+ }
You can’t perform that action at this time.
0 commit comments