test(be): fix dredd tests

This commit is contained in:
Denis Gukov 2021-11-03 15:28:46 +05:00
parent 014d323eb0
commit 36ec69a37b

View File

@ -122,6 +122,7 @@ definitions:
properties:
name:
type: string
example: Test
alert:
type: boolean
Project:
@ -132,6 +133,7 @@ definitions:
minimum: 1
name:
type: string
example: Test
created:
type: string
pattern: ^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\d{2}:\d{2}:\d{2}Z$
@ -153,6 +155,7 @@ definitions:
type: integer
minimum: 1
x-example: 2
AccessKey:
type: object
properties:
@ -160,6 +163,7 @@ definitions:
type: integer
name:
type: string
example: Test
type:
type: string
enum: [none,ssh,login_password]
@ -171,6 +175,7 @@ definitions:
properties:
name:
type: string
example: Test
project_id:
type: integer
minimum: 1
@ -178,6 +183,8 @@ definitions:
type: string
json:
type: string
example: '{}'
Environment:
type: object
properties:
@ -186,6 +193,7 @@ definitions:
minimum: 1
name:
type: string
example: Test
project_id:
type: integer
minimum: 1
@ -193,12 +201,14 @@ definitions:
type: string
json:
type: string
example: '{}'
InventoryRequest:
type: object
properties:
name:
type: string
example: Test
project_id:
type: integer
minimum: 1
@ -220,6 +230,7 @@ definitions:
type: integer
name:
type: string
example: Test
project_id:
type: integer
inventory:
@ -237,6 +248,7 @@ definitions:
properties:
name:
type: string
example: Test
project_id:
type: integer
git_url:
@ -250,6 +262,7 @@ definitions:
type: integer
name:
type: string
example: Test
project_id:
type: integer
git_url: