comparison mod_rest/res/openapi.yaml @ 4801:b65955c0abd8

mod_rest: Add GET method of invoking XEP-0215 to openapi spec
author Kim Alvefur <zash@zash.se>
date Sun, 28 Nov 2021 21:27:44 +0100
parents 1e2f53fb2099
children 75543146e94e
comparison
equal deleted inserted replaced
4800:1e2f53fb2099 4801:b65955c0abd8
126 security: 126 security:
127 - basic: [] 127 - basic: []
128 - token: [] 128 - token: []
129 parameters: 129 parameters:
130 - $ref: '#/components/parameters/to' 130 - $ref: '#/components/parameters/to'
131 responses:
132 '200':
133 $ref: '#/components/responses/success'
134
135 /rest/extdisco/{to}:
136 get:
137 tags:
138 - query
139 summary: Query a message archive
140 security:
141 - basic: []
142 - token: []
143 parameters:
144 - $ref: '#/components/parameters/to'
145 - name: type
146 in: query
147 schema:
148 type: string
149 example: stun
131 responses: 150 responses:
132 '200': 151 '200':
133 $ref: '#/components/responses/success' 152 $ref: '#/components/responses/success'
134 153
135 components: 154 components: