openfga / api

Protocol Buffers used by OpenFGA
Apache License 2.0
18 stars 10 forks source link

fix: remove unspecified from consistency parameter documentation #186

Open jimmyjames opened 1 month ago

jimmyjames commented 1 month ago

Description

Sets the UNSPECIFIED consistency preference to INTERNAL, which prevents it from being exported as a valid enum value in the swagger.

SDKs can then be generated without requiring any odd manipulation to handle namespace collisions on UNSPECIFIED.

References

https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_openapi_output/#hiding-fields-methods-services-and-enum-values

Review Checklist