Fix Swagger file for the connexion-based SDK

This commit is contained in:
Gergely Polonkai 2016-10-27 20:47:28 +02:00
parent 50ef1491f2
commit cc17fc634f

View File

@ -1,21 +1,29 @@
---
swagger: "2.0" swagger: "2.0"
info: info:
version: "0.0.0" version: "0.0.0"
title: "Rubber Duck Booking Tool API" title: "Rubber Duck Booking Tool API"
basePath: /api/v1 basePath: "/api/v1"
consumes: consumes:
- application/json - "application/json"
produces: produces:
- application/json - "application/json"
securityDefinitions:
api_key:
type: apiKey
name: token
in: header
paths: paths:
/ducks/: /ducks/:
get: get:
tags:
- "default_controller"
description: "Get the list of all ducks" description: "Get the list of all ducks"
operationId: "controllers.default_controller.ducks_get"
parameters: []
responses: responses:
"200": 200:
description: "An object which contains metadata and an array of ducks" description: "An object which contains metadata and an array of ducks"
security:
- api_key: []
securityDefinitions:
api_key:
type: "apiKey"
name: "token"
in: "header"
definitions: {}