Skip to content

Preprocessing: Handle unnamed additionalProperties - #272

Merged
lucy66hw merged 1 commit into
opensearch-project:mainfrom
lucy66hw:unamed_properties
Oct 31, 2025
Merged

Preprocessing: Handle unnamed additionalProperties#272
lucy66hw merged 1 commit into
opensearch-project:mainfrom
lucy66hw:unamed_properties

Conversation

@lucy66hw

@lucy66hw lucy66hw commented Oct 30, 2025

Copy link
Copy Markdown
Collaborator

Description

Preprocessing: Handle unnamed additionalProperties.
in rest APIs, a map type could be used to represent arbitrary key-value pairs.
However, in Protobuf, each field must be explicitly defined within the message.
This change converts schemas with unnamed additionalProperties into explicit message fields to ensure compatibility with Protobuf.

Test

Tested in fork repository: lucy66hw#35

Signed-off-by: xil <fridalu66@gmail.com>
@lucy66hw
lucy66hw marked this pull request as ready for review October 30, 2025 18:26
@lucy66hw
lucy66hw merged commit 9e11140 into opensearch-project:main Oct 31, 2025
11 checks passed
karenyrx added a commit to karenyrx/opensearch-protobufs that referenced this pull request Nov 5, 2025
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucy66hw <178352792+lucy66hw@users.noreply.github.com>
Preprocessing - handle unamed additionalproperties (opensearch-project#272)

Signed-off-by: xil <fridalu66@gmail.com>
Protobuf schema change detected (opensearch-project#273)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucy66hw <178352792+lucy66hw@users.noreply.github.com>
Eliminate file name dependencies in Python generated protobuf code

Signed-off-by: Karen X <karenxyr@gmail.com>

Merge branch 'main' into pythonfile

Signed-off-by: Karen X <karenxyr@gmail.com>
simplify by reading proto files instead of generated py files

Signed-off-by: Karen X <karenxyr@gmail.com>

add unit tests

Signed-off-by: Karen X <karenxyr@gmail.com>

Address security vulnerabilities (opensearch-project#277)

Update dependency @eslint/eslintrc to v3.2.0 (opensearch-project#278)

Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Update dependency @eslint/eslintrc to v3.3.0 (opensearch-project#279)

Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
Update dependency @eslint/eslintrc to v3.3.1 (opensearch-project#281)

Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com>
More security vulnerabilities (opensearch-project#284)

Signed-off-by: karenx <karenx@uber.com>
Co-authored-by: karenx <karenx@uber.com>
Merge remote-tracking branch 'upstream/main' into test123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants