Skip to content

Conversation

@Aakash231217
Copy link

@Aakash231217 Aakash231217 commented Jul 2, 2025

This PR addresses Issue #28 (#28))
which highlights a lack of support for optional fields in proto3 syntax.

  1. The issue is that proto3 optional fields are not supported. The fix adds detection of proto3 optional fields using the Proto3Optional field descriptor property and ensures they are not marked as required in the OpenAPI schema, which correctly reflects their optional nature.

  2. Changes in MakeFile - Added a test proto file with proto3 optional fields to the protoc command to ensure the plugin can handle proto3 optional fields during testing and development

@solo-build-bot
Copy link

solo-build-bot bot commented Jul 2, 2025

Waiting for approval from someone in the solo-io org to start testing.

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.

1 participant