Recommended approach for enhancing generated OpenAPI documentation #3815
-
PostgREST 12.2 As recommended, we expose views (not tables) through PostgREST and those are included in the automatically-generated OpenAPI documentation. I would like to:
What are the recommendations for generating documentation? One option would be to maintain a list of views in a table containing metadata. We could then write a script to retrieve the metadata and enhance the generated file. Any suggestions appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I just tested and comments on views and columns of views appear in the OpenAPI output: COMMENT ON VIEW <schema>.<view> IS 'hello';
COMMENT ON COLUMN <schem>.<view>.<column> IS 'world';
That's currently not possible. |
Beta Was this translation helpful? Give feedback.
I just tested and comments on views and columns of views appear in the OpenAPI output:
That's currently not possible.