diff --git a/openapi/dali/dali-maxrec.yaml b/openapi/dali/dali-maxrec.yaml index 42d5ac7..920b218 100644 --- a/openapi/dali/dali-maxrec.yaml +++ b/openapi/dali/dali-maxrec.yaml @@ -2,8 +2,11 @@ name: MAXREC in: query description: | request a specific limit on number of records to return +required: false schema: type: integer format: int64 - minimum: 0 - exclusiveMinimum: false + inclusiveMinimum: 0 + examples: + - 0 + - 100 diff --git a/openapi/dali/dali-responseformat.yaml b/openapi/dali/dali-responseformat.yaml index 202eee4..8b3e404 100644 --- a/openapi/dali/dali-responseformat.yaml +++ b/openapi/dali/dali-responseformat.yaml @@ -1,5 +1,9 @@ name: RESPONSEFORMAT in: query description: select output table format +required: false schema: type: string + examples: + - application/x-votable+xml + - vot diff --git a/openapi/dali/dali-upload.yaml b/openapi/dali/dali-upload.yaml index ef9f018..3b5fbdd 100644 --- a/openapi/dali/dali-upload.yaml +++ b/openapi/dali/dali-upload.yaml @@ -3,6 +3,13 @@ in: query description: | specify a comma-separated name,location pair for a temporary resource to be uploaded and used in the request +required: false +explode: true schema: - type: string - pattern: '^[a-zA-Z]\w*,\S+$' + type: array + items: + type: string + pattern: '^[a-zA-Z]\w*,\S+$' + example: + - tmp1,https://example.net/tmp.vot + - tmp2,param:inline-votable