mod_rest/openapi: Fix dataform references
authorKim Alvefur <zash@zash.se>
Tue, 02 Mar 2021 16:14:20 +0100
changeset 4490 4f41678ba00d
parent 4489 2c4b65bfac62
child 4491 f877a4d3770b
mod_rest/openapi: Fix dataform references Thought I had moved these out into components.schemas?
mod_rest/openapi.yaml
--- a/mod_rest/openapi.yaml	Tue Mar 02 14:19:19 2021 +0100
+++ b/mod_rest/openapi.yaml	Tue Mar 02 16:14:20 2021 +0100
@@ -299,7 +299,7 @@
       - type: object
         properties:
           data:
-            $ref: '#/components/schemas/stanza/properties/formdata'
+            $ref: '#/components/schemas/formdata'
           action:
             type: string
           note:
@@ -314,7 +314,7 @@
                 - warn
                 - error
           form:
-            $ref: '#/components/schemas/stanza/properties/dataform'
+            $ref: '#/components/schemas/dataform'
           sessionid:
             type: string
           status: