Fix Swagger file for the connexion-based SDK
This commit is contained in:
parent
50ef1491f2
commit
cc17fc634f
@ -1,21 +1,29 @@
|
||||
---
|
||||
swagger: "2.0"
|
||||
info:
|
||||
version: "0.0.0"
|
||||
title: "Rubber Duck Booking Tool API"
|
||||
basePath: /api/v1
|
||||
basePath: "/api/v1"
|
||||
consumes:
|
||||
- application/json
|
||||
- "application/json"
|
||||
produces:
|
||||
- application/json
|
||||
securityDefinitions:
|
||||
api_key:
|
||||
type: apiKey
|
||||
name: token
|
||||
in: header
|
||||
- "application/json"
|
||||
paths:
|
||||
/ducks/:
|
||||
get:
|
||||
tags:
|
||||
- "default_controller"
|
||||
description: "Get the list of all ducks"
|
||||
operationId: "controllers.default_controller.ducks_get"
|
||||
parameters: []
|
||||
responses:
|
||||
"200":
|
||||
200:
|
||||
description: "An object which contains metadata and an array of ducks"
|
||||
security:
|
||||
- api_key: []
|
||||
securityDefinitions:
|
||||
api_key:
|
||||
type: "apiKey"
|
||||
name: "token"
|
||||
in: "header"
|
||||
definitions: {}
|
||||
|
Loading…
Reference in New Issue
Block a user