openfga / api

Protocol Buffers used by OpenFGA
Apache License 2.0
19 stars 14 forks source link

chore: document required fields in requests with a body #49

Closed miparnisari closed 1 year ago

miparnisari commented 1 year ago

You can paste the generated Swagger file here to view it: https://editor.swagger.io/

You should see this

image

If we want to be even more specific (e.g. Read requires tupleKey.object but not the others), we need to introduce specific TupleKey messages for the API.