Mercurial > prosody-modules
comparison mod_rest/res/openapi.yaml @ 4800:1e2f53fb2099
mod_rest: Fix mistaken way of specifying required fields in XEP-0215 map
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Nov 2021 21:26:52 +0100 |
parents | fae4e1335593 |
children | b65955c0abd8 |
comparison
equal
deleted
inserted
replaced
4799:18b12ad263f0 | 4800:1e2f53fb2099 |
---|---|
963 services: | 963 services: |
964 items: | 964 items: |
965 type: object | 965 type: object |
966 xml: | 966 xml: |
967 name: service | 967 name: service |
968 required: | |
969 - type | |
970 - host | |
968 properties: | 971 properties: |
969 transport: | 972 transport: |
970 xml: | 973 xml: |
971 attribute: true | 974 attribute: true |
972 type: string | 975 type: string |
973 type: | 976 type: |
974 required: true | |
975 xml: | 977 xml: |
976 attribute: true | 978 attribute: true |
977 type: string | 979 type: string |
978 port: | 980 port: |
979 xml: | 981 xml: |
980 attribute: true | 982 attribute: true |
981 type: integer | 983 type: integer |
982 host: | 984 host: |
983 required: true | |
984 xml: | 985 xml: |
985 attribute: true | 986 attribute: true |
986 type: string | 987 type: string |
987 expires: | 988 expires: |
988 xml: | 989 xml: |