gnostic icon indicating copy to clipboard operation
gnostic copied to clipboard

feat: add support for required query parameters

Open li3p opened this issue 7 months ago • 1 comments

feat: add support for required query parameters based on field behavior annotations

  • Add isFieldRequired() method to check for REQUIRED field behavior annotation
  • Update _buildQueryParamsV3() to respect field requirements from protobuf annotations
  • Replace hardcoded Required: false with dynamic isRequired based on field annotations
  • Improve OpenAPI spec accuracy by properly reflecting field requirements in query parameters

li3p avatar May 29 '25 01:05 li3p

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar May 29 '25 01:05 google-cla[bot]