Cleaning up some coverage and a few bits.

This commit is contained in:
Dave Shanley
2022-12-15 16:29:11 -05:00
parent 635877da1d
commit 8dff96ad90
7 changed files with 51 additions and 20 deletions

View File

@@ -229,6 +229,12 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Error'
"400":
description: Unexpected error. Sorry.
content:
application/json:
schema:
$ref: 'https://raw.githubusercontent.com/daveshanley/vacuum/main/model/test_files/burgershop.openapi.yaml'
components:
schemas:
Error:

View File

@@ -0,0 +1,9 @@
components:
schemas:
Thing:
type: object
description: A thing that does nothing.
properties:
message:
type: string
description: I am pointless.