Changeset

5552:12828e969a60

mod_rest: Describe the error 'by' property in OpenAPI spec
author Kim Alvefur <zash@zash.se>
date Sat, 17 Jun 2023 16:28:13 +0200
parents 5551:8bfcedd93a72
children 5553:67152838afbc
files mod_rest/res/openapi.yaml
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml	Sat Jun 17 16:26:33 2023 +0200
+++ b/mod_rest/res/openapi.yaml	Sat Jun 17 16:28:13 2023 +0200
@@ -1346,6 +1346,11 @@
         text:
           description: Description of error intended for human eyes.
           type: string
+        by:
+          description: Originator of the error, when different from the stanza @from attribute
+          type: string
+          xml:
+            attribute: true
   securitySchemes:
     token:
       description: Tokens from mod_http_oauth2.