From 4e28a37c82051268577b48b12d536087d4cd3514 Mon Sep 17 00:00:00 2001 From: kjcsb1 Date: Fri, 13 Dec 2024 08:42:49 +1300 Subject: [PATCH] Add example of comment on view --- docs/references/api/openapi.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/references/api/openapi.rst b/docs/references/api/openapi.rst index d13ade1b2c..ec546eb729 100644 --- a/docs/references/api/openapi.rst +++ b/docs/references/api/openapi.rst @@ -19,6 +19,9 @@ For extra customization, the OpenAPI output contains a "description" field for e COMMENT ON TABLE monotremes IS 'Freakish mammals lay the best eggs for breakfast'; + COMMENT ON VIEW monotremes_v IS + 'Only the platypus is publicly visible'; + COMMENT ON COLUMN monotremes.has_venomous_claw IS 'Sometimes breakfast is not worth it';