Mercurial > prosody-modules
comparison mod_rest/openapi.yaml @ 4492:9d576af18611
mod_rest/openapi: Remove 202 response for ping (doesn't happen)
Could return an error, but that's a TODO for now
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 04 Mar 2021 00:43:26 +0100 |
| parents | f877a4d3770b |
| children | 89571a20196f |
comparison
equal
deleted
inserted
replaced
| 4491:35381608d323 | 4492:9d576af18611 |
|---|---|
| 43 - token: [] | 43 - token: [] |
| 44 summary: Ping a local or remote server or other entity | 44 summary: Ping a local or remote server or other entity |
| 45 responses: | 45 responses: |
| 46 200: | 46 200: |
| 47 $ref: '#/components/responses/success' | 47 $ref: '#/components/responses/success' |
| 48 202: | |
| 49 $ref: '#/components/responses/sent' | |
| 50 parameters: | 48 parameters: |
| 51 - $ref: '#/components/parameters/to' | 49 - $ref: '#/components/parameters/to' |
| 52 /rest/disco/{to}: | 50 /rest/disco/{to}: |
| 53 get: | 51 get: |
| 54 security: | 52 security: |
