2016-10-27 18:47:28 +00:00
|
|
|
---
|
2016-10-27 18:11:22 +00:00
|
|
|
swagger: "2.0"
|
|
|
|
info:
|
|
|
|
version: "0.0.0"
|
|
|
|
title: "Rubber Duck Booking Tool API"
|
2016-10-27 18:47:28 +00:00
|
|
|
basePath: "/api/v1"
|
2016-10-27 18:11:22 +00:00
|
|
|
consumes:
|
2016-10-28 01:25:48 +00:00
|
|
|
- "application/json"
|
2016-10-27 18:11:22 +00:00
|
|
|
produces:
|
2016-10-28 01:25:48 +00:00
|
|
|
- "application/json"
|
2016-10-27 18:11:22 +00:00
|
|
|
paths:
|
2016-10-28 01:25:48 +00:00
|
|
|
/ducks:
|
2016-10-27 18:11:22 +00:00
|
|
|
get:
|
2016-10-27 18:47:28 +00:00
|
|
|
tags:
|
2016-10-28 01:25:48 +00:00
|
|
|
- "default_controller"
|
2016-10-27 18:11:22 +00:00
|
|
|
description: "Get the list of all ducks"
|
2016-10-27 18:47:28 +00:00
|
|
|
operationId: "controllers.default_controller.ducks_get"
|
|
|
|
parameters: []
|
2016-10-27 18:11:22 +00:00
|
|
|
responses:
|
2016-10-27 18:47:28 +00:00
|
|
|
200:
|
2016-10-27 18:11:22 +00:00
|
|
|
description: "An object which contains metadata and an array of ducks"
|
2016-10-27 19:28:03 +00:00
|
|
|
schema:
|
2016-10-28 01:25:48 +00:00
|
|
|
type: array
|
2016-10-27 19:28:03 +00:00
|
|
|
items:
|
2016-10-28 01:25:48 +00:00
|
|
|
$ref: '#/definitions/Duck'
|
2016-10-27 18:47:28 +00:00
|
|
|
security:
|
2016-10-28 01:25:48 +00:00
|
|
|
- api_key: []
|
2016-10-27 18:47:28 +00:00
|
|
|
securityDefinitions:
|
|
|
|
api_key:
|
|
|
|
type: "apiKey"
|
|
|
|
name: "token"
|
|
|
|
in: "header"
|
2016-10-27 19:28:03 +00:00
|
|
|
definitions:
|
|
|
|
Duck:
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
type: "string"
|