Skip to content

Commit ce56b4d

Browse files
committed
add minimum value spec for maxrec param
add simplistic {table name},{location} regex pattern for upload param
1 parent 65ef838 commit ce56b4d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

openapi/dali-maxrec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ description: request a specific limit on number of rows to return
44
schema:
55
type: integer
66
format: int64
7+
minimum: 0
8+
exclusiveMinimum: false

openapi/dali-upload.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ description: |
55
uploaded and used in the request
66
schema:
77
type: string
8+
# {table name},{location}
9+
# pattern is {1+ word characters},{1+ non-whitespace characters}
10+
pattern: '^\w+,\S+$'

0 commit comments

Comments
 (0)