sdk-generator
sdk-generator copied to clipboard
Expose Health-Endpoint
Checklist
- [X] I agree to the terms within the OpenFGA Code of Conduct.
Describe the problem you'd like to have solved
As some of our upstream services depend on openfga, part of the health check of the application is to check if openfga is alive and well.
Describe the ideal solution
The health-Endpoint should be exposed in the sdk. That should be easy enough to just include it without adding too much additional code.
Alternatives and current workarounds
current workarounds include simply doing a "listStores" or similar operations. Another option is to use a plain http request against the http api.
References
No response
Additional context
No response