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
21 lines
349 B
YAML
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
|