Skip to content

v2.9.0

Compare
Choose a tag to compare
@johanbrandhorst johanbrandhorst released this 18 Mar 01:29
c5b969a

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