Skip to content

Commit d6e3442

Browse files
committed
fix xml type and example indent
1 parent 23e7880 commit d6e3442

4 files changed

Lines changed: 12 additions & 13 deletions

File tree

openapi/uws/uws-responses.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ job-listing:
1717
content:
1818
text/xml:
1919
schema:
20-
type: string
20+
type: object
2121
xml:
2222
name: jobs
2323
prefix: uws
2424
namespace: http://www.ivoa.net/xml/UWS/v1.0
25-
example: |
25+
example: |
2626
<uws:jobs xmlns:uws="http://www.ivoa.net/xml/UWS/v1.0" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
2727
<uws:jobref id="loqqxg8jlah0r8wp">
2828
<uws:phase>PENDING</uws:phase>
@@ -38,12 +38,12 @@ job:
3838
content:
3939
text/xml:
4040
schema:
41-
type: string
41+
type: object
4242
xml:
4343
name: job
4444
prefix: uws
4545
namespace: http://www.ivoa.net/xml/UWS/v1.0
46-
example: |
46+
example: |
4747
<uws:job xmlns:uws="http://www.ivoa.net/xml/UWS/v1.0" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
4848
<uws:jobId>loqqxg8jlah0r8wp</uws:jobId>
4949
<uws:ownerId>somebody</uws:ownerId>

openapi/vosi/vosi-capabilities.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ components:
3737
content:
3838
text/xml:
3939
schema:
40-
type: string
40+
type: object
4141
xml:
4242
name: capabilities
4343
prefix: vosi
4444
namespace: http://www.ivoa.net/xml/VOSICapabilities/v1.0
45-
example: |
45+
example: |
4646
<vosi:capabilities xmlns:vosi="http://www.ivoa.net/xml/VOSICapabilities/v1.0"
4747
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
4848
xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.1"

openapi/vosi/vosi-table.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ components:
145145
content:
146146
text/xml:
147147
schema:
148-
type: string
148+
type: object
149149
xml:
150150
name: table
151151
prefix: vosi
152152
namespace: http://www.ivoa.net/xml/VOSITables/v1.0
153-
example: |
153+
example: |
154154
<vosi:table xmlns:vosi="http://www.ivoa.net/xml/VOSITables/v1.0"
155155
xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.1"
156156
xmlns:vte="http://www.opencadc.org/xml/VOSITables-ext/v0.1"
@@ -181,11 +181,11 @@ components:
181181
</vosi:table>
182182
application/x-votable+xml:
183183
schema:
184-
type: string
184+
type: object
185185
xml:
186186
name: VOTABLE
187187
namespace: http://www.ivoa.net/xml/VOTable/v1.3
188-
example: |
188+
example: |
189189
<VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.3"
190190
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
191191
<RESOURCE type="results">

openapi/vosi/vosi-tableset.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ components:
2929
content:
3030
text/xml:
3131
schema:
32-
type: string
32+
type: object
3333
xml:
3434
name: tableset
3535
prefix: vosi
3636
namespace: http://www.ivoa.net/xml/VOSITables/v1.0
37-
example: |
37+
example: |
3838
<vosi:tableset xmlns:vosi="http://www.ivoa.net/xml/VOSITables/v1.0"
3939
xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.1"
4040
xmlns:vte="http://www.opencadc.org/xml/VOSITables-ext/v0.1"
@@ -64,4 +64,3 @@ components:
6464
</table>
6565
</schema>
6666
</vosi:tableset>
67-

0 commit comments

Comments
 (0)