Normalising REST spec query param types

integer -> number
filter_path: string -> list
This commit is contained in:
Clinton Gormley 2017-02-14 16:59:13 +01:00
parent 8d6a41f671
commit 1556e81e9a
4 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@
"description": "The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests." "description": "The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests."
}, },
"filter_path": { "filter_path": {
"type": "string", "type": "list",
"description": "A comma-separated list of filters used to reduce the respone." "description": "A comma-separated list of filters used to reduce the respone."
} }
} }

View File

@ -155,7 +155,7 @@
"description": "The throttle for this request in sub-requests per second. -1 means no throttle." "description": "The throttle for this request in sub-requests per second. -1 means no throttle."
}, },
"slices": { "slices": {
"type": "integer", "type": "number",
"default": 1, "default": 1,
"description": "The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks." "description": "The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks."
} }

View File

@ -31,7 +31,7 @@
"description": "The throttle to set on this request in sub-requests per second. -1 means no throttle." "description": "The throttle to set on this request in sub-requests per second. -1 means no throttle."
}, },
"slices": { "slices": {
"type": "integer", "type": "number",
"default": 1, "default": 1,
"description": "The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks." "description": "The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks."
} }

View File

@ -163,7 +163,7 @@
"description": "The throttle to set on this request in sub-requests per second. -1 means no throttle." "description": "The throttle to set on this request in sub-requests per second. -1 means no throttle."
}, },
"slices": { "slices": {
"type": "integer", "type": "number",
"default": 1, "default": 1,
"description": "The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks." "description": "The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks."
} }