-
Notifications
You must be signed in to change notification settings - Fork 6
OpenAPI components for common DALI parameters #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9f71e25
8e90d20
65ef838
ce56b4d
8223a6b
d78457a
35c23d8
05c087e
4051c90
6b112d5
d3896dc
d7df0b6
591f7fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
+17 −5 | Makefile | |
+1 −1 | Makefile.template | |
+4 −3 | archdiag-full.xml | |
+66 −0 | docrepo.bib | |
+2 −2 | fetch_from_ads.py | |
+1 −0 | github_workflow_build.yml.template | |
+11 −4 | github_workflow_preview.yml.template | |
+12 −1 | ivoa.cls | |
+27 −3 | regressiontest/run-regression.py | |
+2 −2 | stdrec-template.xml | |
+13 −2 | tthdefs.tex | |
+89 −0 | update-stdrec.py |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: MAXREC | ||
in: query | ||
description: | | ||
request a specific limit on number of records to return | ||
schema: | ||
type: integer | ||
format: int64 | ||
minimum: 0 | ||
exclusiveMinimum: false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: RESPONSEFORMAT | ||
in: query | ||
description: select output table format | ||
schema: | ||
type: string |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: UPLOAD | ||
in: query | ||
description: | | ||
specify a comma-separated name,location pair for a temporary | ||
resource to be uploaded and used in the request | ||
schema: | ||
type: string | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, minimal pattern added (I did not try to handle the complexity of the location part of that param). The openapi linter I use thought it was OK, but swagger doesn't render anything so it's a little hard to verify and my regex-fu doesn't extend to ECMA-script so I hope those predefined character classes are standard. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did a quick check with regex101.com and it seems okay to me. I agree with not tackling the location path. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think That regex101.com site is great - thnx for that pointer! |
||
pattern: '^[a-zA-Z]\w*,\S+$' |
Uh oh!
There was an error while loading. Please reload this page.