docs(api): update swagger definitions

pull/2629/head
Mark Stansberry 2019-01-15 14:04:47 -05:00 committed by Anthony Lapenna
parent c7983d8993
commit d6aafceba8
1 changed files with 11 additions and 6 deletions

View File

@ -525,7 +525,7 @@ paths:
**Access policy**: administrator **Access policy**: administrator
operationId: "EndpointJob" operationId: "EndpointJob"
consumes: consumes:
- "application/json" - "multipart/form-data"
produces: produces:
- "application/json" - "application/json"
security: security:
@ -1434,7 +1434,7 @@ paths:
**Access policy**: restricted **Access policy**: restricted
operationId: "StackCreate" operationId: "StackCreate"
consumes: consumes:
- "application/json" - "multipart/form-data"
produces: produces:
- "application/json" - "application/json"
security: security:
@ -2733,7 +2733,7 @@ paths:
- "application/json" - "application/json"
security: security:
- jwt: [] - jwt: []
parameters: parameters: []
responses: responses:
200: 200:
description: "Success" description: "Success"
@ -3606,6 +3606,7 @@ definitions:
- "Authentication" - "Authentication"
- "Name" - "Name"
- "Password" - "Password"
- "Type"
- "URL" - "URL"
- "Username" - "Username"
properties: properties:
@ -3613,6 +3614,10 @@ definitions:
type: "string" type: "string"
example: "my-registry" example: "my-registry"
description: "Name that will be used to identify this registry" description: "Name that will be used to identify this registry"
Type:
type: "integer"
example: 1
description: "Registry Type. Valid values are: 1 (Quay.io), 2 (Azure container registry) or 3 (custom registry)"
URL: URL:
type: "string" type: "string"
example: "registry.mydomain.tld:2375" example: "registry.mydomain.tld:2375"
@ -4037,7 +4042,7 @@ definitions:
description: "A list of categories associated to the template" description: "A list of categories associated to the template"
items: items:
type: "string" type: "string"
exampe: "database" example: "database"
registry: registry:
type: "string" type: "string"
example: "quay.io" example: "quay.io"
@ -4133,7 +4138,7 @@ definitions:
description: "A list of categories associated to the template" description: "A list of categories associated to the template"
items: items:
type: "string" type: "string"
exampe: "database" example: "database"
registry: registry:
type: "string" type: "string"
example: "quay.io" example: "quay.io"
@ -4233,7 +4238,7 @@ definitions:
description: "A list of categories associated to the template" description: "A list of categories associated to the template"
items: items:
type: "string" type: "string"
exampe: "database" example: "database"
registry: registry:
type: "string" type: "string"
example: "quay.io" example: "quay.io"