diff --git a/api-docs.yml b/api-docs.yml index 09094189e..5b9a6f96a 100644 --- a/api-docs.yml +++ b/api-docs.yml @@ -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: @@ -307,10 +320,13 @@ definitions: minimum: 1 alias: type: string + example: Test playbook: type: string + example: test.yml arguments: type: string + example: '[]' description: type: string example: Hello, World! @@ -338,10 +354,13 @@ definitions: minimum: 1 alias: type: string + example: Test playbook: type: string + example: test.yml arguments: type: string + example: '[]' description: type: string example: Hello, World!