fix(swagger): update swagger spec with correct list output for stacks

pull/18542/head
Johnny Steenbergen 2020-06-16 18:27:48 -07:00 committed by Johnny Steenbergen
parent a19604c0ea
commit f9628b20b3
1 changed files with 43 additions and 40 deletions

View File

@ -4720,54 +4720,57 @@ paths:
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: string
orgID:
type: string
name:
type: string
description:
type: string
sources:
type: array
items:
type: string
urls:
type: array
items:
type: string
createdAt:
type: string
format: date-time
readOnly: true
updatedAt:
type: string
format: date-time
readOnly: true
resources:
type: object
properties:
stacks:
type: array
items:
type: object
properties:
apiVersion:
id:
type: string
resourceID:
orgID:
type: string
kind:
name:
type: string
pkgName:
description:
type: string
associations:
sources:
type: array
items:
type: object
properties:
kind:
type: string
pkgName:
type: string
type: string
urls:
type: array
items:
type: string
createdAt:
type: string
format: date-time
readOnly: true
updatedAt:
type: string
format: date-time
readOnly: true
resources:
type: object
properties:
apiVersion:
type: string
resourceID:
type: string
kind:
type: string
pkgName:
type: string
associations:
type: array
items:
type: object
properties:
kind:
type: string
pkgName:
type: string
default:
description: Unexpected error
content: