From 308cb25ba2c5af62885f681cb7a6f97d1cad047d Mon Sep 17 00:00:00 2001 From: C Cirello Date: Mon, 28 Nov 2016 23:59:12 +0100 Subject: [PATCH] api: remove useless parameter in get task call (#353) Fixes #275 --- docs/swagger.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/swagger.yml b/docs/swagger.yml index 70182883a..28639f521 100644 --- a/docs/swagger.yml +++ b/docs/swagger.yml @@ -6,7 +6,7 @@ swagger: '2.0' info: title: IronFunctions description: The open source serverless platform. - version: "0.1.19" + version: "0.1.20" # the domain of the service host: "127.0.0.1:8080" # array of all schemes that your API supports @@ -290,16 +290,9 @@ paths: /tasks: get: summary: Get next task. - description: Gets the next task in the queue, ready for processing. Titan may return <=n tasks. Consumers should start processing tasks in order. Each returned task is set to `status` "running" and `started_at` is set to the current time. No other consumer can retrieve this task. + description: Gets the next task in the queue, ready for processing. Consumers should start processing tasks in order. No other consumer can retrieve this task. tags: - Tasks - parameters: - - name: "n" - in: query - default: 1 - description: Number of tasks to return. - type: integer - format: int32 responses: 200: description: Task information