github grpc-ecosystem/grpc-gateway v2.9.0

latest releases: v2.23.0, v2.22.0, v2.21.0...
2 years ago

This release adds the ability to filter properties (Services, RPCs, Fields, Enum values) from being rendered in the OpenAPI v2 spec generated by protoc-gen-openapiv2. See https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_openapi_output/#hiding-fields-methods-services-and-enum-values for more information about this new exciting capability!

Other new features:

  • A new option to generate the OpenAPI v2 spec in YAML format
  • Allow serving a health endpoint at an arbitrary path with the new WithHealthEndpointAt ServeMux option

What's Changed

  • Annotate incoming and outgoing context by @rogchap in #2574
  • protoc-gen-openapiv2: support YAML OpenAPI/Swagger v2 definition generation by @hedhyw in #2579
  • Add support for google.api.VisibilityRules annotations to hide APIs and fields by @BCook98 in #2578
  • feature/custom HTTP health check endpoint by @antonioiubatti93 in #2587

New Contributors

Full Changelog: v2.8.0...v2.9.0

Don't miss a new grpc-gateway release

NewReleases is sending notifications on new releases.