Untitled diff
40 lines
swagger: '2.0'
swagger: '2.0'
info:
info:
version: "1"
version: "1"
title: title here
title: title here
description: description here
description: description here
paths:
paths:
/endpoint:
/endpoint:
get:
get:
description: an endpoint
description: an endpoint
parameters:
parameters:
-
-
name: someparam
name: someparam
in: query
in: query
description: param desc here
description: param desc here
required: true
required: true
type: string
type: string
responses:
responses:
200:
200:
description: List of things
description: List of things
schema:
schema:
title: thing_list
title: thing_list
type: object
type: object
properties:
properties:
formatted_input:
formatted_input:
type: string
type: string
description: The passed input
description: The passed input
actual_things:
actual_things:
type: array
type: array
items:
items:
-
type: object
type: object
properties:
properties:
thing_value:
thing_value:
type: string
type: string
description: The thing
description: The thing
id:
id:
type: string
type: string
description: an ID
description: an ID