diff --git a/openapi/uws/uws-responses.yaml b/openapi/uws/uws-responses.yaml index 426a6e7..f08b3a3 100644 --- a/openapi/uws/uws-responses.yaml +++ b/openapi/uws/uws-responses.yaml @@ -17,12 +17,12 @@ job-listing: content: text/xml: schema: - type: string + type: object xml: name: jobs prefix: uws namespace: http://www.ivoa.net/xml/UWS/v1.0 - example: | + example: | PENDING @@ -38,12 +38,12 @@ job: content: text/xml: schema: - type: string + type: object xml: name: job prefix: uws namespace: http://www.ivoa.net/xml/UWS/v1.0 - example: | + example: | loqqxg8jlah0r8wp somebody diff --git a/openapi/vosi/vosi-auth-read.yaml b/openapi/vosi/vosi-auth-read.yaml new file mode 100644 index 0000000..8d273fd --- /dev/null +++ b/openapi/vosi/vosi-auth-read.yaml @@ -0,0 +1,9 @@ +# request header +name: x-vosi-auth-read +in: header +description: flag indicating that the resource requires authentication to read +required: false +schema: + type: string + enum: ["true", "false", "null"] + diff --git a/openapi/vosi/vosi-capabilities.yaml b/openapi/vosi/vosi-capabilities.yaml index 8abd9bd..1b54846 100644 --- a/openapi/vosi/vosi-capabilities.yaml +++ b/openapi/vosi/vosi-capabilities.yaml @@ -37,12 +37,12 @@ components: content: text/xml: schema: - type: string + type: object xml: name: capabilities prefix: vosi namespace: http://www.ivoa.net/xml/VOSICapabilities/v1.0 - example: | + example: | recommended sort order when listing schemas int - + application/x-votable+xml: schema: - type: object - xml: - name: VOTABLE - namespace: http://www.ivoa.net/xml/VOTable/v1.3 + type: object + xml: + name: VOTABLE + namespace: http://www.ivoa.net/xml/VOTable/v1.3 example: | - +
schema name for reference to tap_schema.schemas @@ -172,9 +202,6 @@ components: recommended sort order when listing schemas -
- - diff --git a/openapi/vosi/vosi-tableset.yaml b/openapi/vosi/vosi-tableset.yaml index be950cc..f782dc5 100644 --- a/openapi/vosi/vosi-tableset.yaml +++ b/openapi/vosi/vosi-tableset.yaml @@ -29,11 +29,11 @@ components: content: text/xml: schema: - type: string - xml: - name: tableset - prefix: vosi - namespace: http://www.ivoa.net/xml/VOSITables/v1.0 + type: object + xml: + name: tableset + prefix: vosi + namespace: http://www.ivoa.net/xml/VOSITables/v1.0 example: | description of foreign key columns in this tableset - ... -