Skip to content

Do we have any way to generate documentation for our policies, like we do with OpenAPI? #692

Discussion options

You must be logged in to vote

Hi there!

It's been a while since anyone touched them, but OTOH, OPA's REST API hasn't really changed much since then: https://github.com/open-policy-agent/contrib/tree/main/open_api

That's only documenting the REST API endpoints though. I'm not aware of a tool that generates something like JSON schemas for the possible decisions your policy may provide. I'd love to see someone do that though!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by cleitonfelipe
Comment options

You must be logged in to vote
1 reply
@anderseknert
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants