Files
cloudkitty/doc/source/api-reference/v2/example/example_parameters.yml
Luka Peschke dc2509ba65 Bootstrap the v2 API
This adds a v2 API root to CloudKitty. An example endpoint along with some
developer documentation has been added. The API root is now served with Flask
instead of pecan.

Change-Id: I4ede52dae531631f7fe708400def01bc08a64dec
Story: 2004208
Task: 27717
Task: 27718
Task: 27719
2019-04-01 13:52:04 +02:00

21 lines
349 B
YAML

fruit:
in: body
description: |
A fruit. Must one of [**banana**, **strawberry**]
type: string
required: true
example_msg:
in: body
description: |
Contains "This is an example endpoint"
type: string
required: true
fruit_msg:
in: body
description: |
Contains "Your fruit is a <fruit>"
type: string
required: true