swagger: "2.0"
info:
    title: Tekton Hub
    description: HTTP services for managing Tekton Hub
    version: "1.0"
host: api.hub.tekton.dev
consumes:
    - application/json
    - application/xml
    - application/gob
produces:
    - application/json
    - application/xml
    - application/gob
paths:
    /v1/catalogs:
        get:
            tags:
                - catalog
            summary: List catalog
            description: List all Catalogs
            operationId: catalog#List
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/CatalogListResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/CatalogListInternalErrorResponseBody'
            schemes:
                - https
    /v1/query:
        get:
            tags:
                - resource
            summary: Query resource
            description: Find resources by a combination of name, kind, catalog, categories, platforms and tags
            operationId: resource#Query
            parameters:
                - name: name
                  in: query
                  description: Name of resource
                  required: false
                  type: string
                  default: ""
                - name: catalogs
                  in: query
                  description: Catalogs of resource to filter by
                  required: false
                  type: array
                  items:
                    type: string
                  collectionFormat: multi
                - name: categories
                  in: query
                  description: Category associated with a resource to filter by
                  required: false
                  type: array
                  items:
                    type: string
                  collectionFormat: multi
                - name: kinds
                  in: query
                  description: Kinds of resource to filter by
                  required: false
                  type: array
                  items:
                    type: string
                  collectionFormat: multi
                - name: tags
                  in: query
                  description: Tags associated with a resource to filter by
                  required: false
                  type: array
                  items:
                    type: string
                  collectionFormat: multi
                - name: platforms
                  in: query
                  description: Platforms associated with a resource to filter by
                  required: false
                  type: array
                  items:
                    type: string
                  collectionFormat: multi
                - name: limit
                  in: query
                  description: Maximum number of resources to be returned
                  required: false
                  type: integer
                  default: 1000
                - name: match
                  in: query
                  description: Strategy used to find matching resources
                  required: false
                  type: string
                  default: contains
                  enum:
                    - exact
                    - contains
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceQueryResponseBody'
                "400":
                    description: Bad Request response.
                    schema:
                        $ref: '#/definitions/ResourceQueryInvalidKindResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceQueryNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceQueryInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{catalog}/{kind}/{name}:
        get:
            tags:
                - resource
            summary: ByCatalogKindName resource
            description: Find resources using name of catalog, resource name and kind of resource
            operationId: resource#ByCatalogKindName
            parameters:
                - name: pipelinesversion
                  in: query
                  description: To find resource compatible with a Tekton pipelines version, use this param
                  required: false
                  type: string
                  pattern: ^\d+(?:\.\d+){0,2}$
                - name: catalog
                  in: path
                  description: name of catalog
                  required: true
                  type: string
                - name: kind
                  in: path
                  description: kind of resource
                  required: true
                  type: string
                  enum:
                    - task
                    - pipeline
                - name: name
                  in: path
                  description: Name of resource
                  required: true
                  type: string
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{catalog}/{kind}/{name}/{version}:
        get:
            tags:
                - resource
            summary: ByCatalogKindNameVersion resource
            description: Find resource using name of catalog & name, kind and version of resource
            operationId: resource#ByCatalogKindNameVersion
            parameters:
                - name: catalog
                  in: path
                  description: name of catalog
                  required: true
                  type: string
                - name: kind
                  in: path
                  description: kind of resource
                  required: true
                  type: string
                  enum:
                    - task
                    - pipeline
                - name: name
                  in: path
                  description: name of resource
                  required: true
                  type: string
                - name: version
                  in: path
                  description: version of resource
                  required: true
                  type: string
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{catalog}/{kind}/{name}/{version}/raw:
        get:
            tags:
                - resource
            summary: GetRawYamlByCatalogKindNameVersion resource
            description: Fetch a raw resource yaml file using the name of catalog, resource name, kind, and version
            operationId: resource#GetRawYamlByCatalogKindNameVersion
            parameters:
                - name: catalog
                  in: path
                  description: name of catalog
                  required: true
                  type: string
                - name: kind
                  in: path
                  description: kind of resource
                  required: true
                  type: string
                  enum:
                    - task
                    - pipeline
                - name: name
                  in: path
                  description: name of resource
                  required: true
                  type: string
                - name: version
                  in: path
                  description: version of resource
                  required: true
                  type: string
            responses:
                "200":
                    description: OK response.
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceGetRawYamlByCatalogKindNameVersionNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceGetRawYamlByCatalogKindNameVersionInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{catalog}/{kind}/{name}/{version}/readme:
        get:
            tags:
                - resource
            summary: ByCatalogKindNameVersionReadme resource
            description: Find resource README using name of catalog & name, kind and version of resource
            operationId: resource#ByCatalogKindNameVersionReadme
            parameters:
                - name: catalog
                  in: path
                  description: name of catalog
                  required: true
                  type: string
                - name: kind
                  in: path
                  description: kind of resource
                  required: true
                  type: string
                  enum:
                    - task
                    - pipeline
                - name: name
                  in: path
                  description: name of resource
                  required: true
                  type: string
                - name: version
                  in: path
                  description: version of resource
                  required: true
                  type: string
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionReadmeResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionReadmeNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionReadmeInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{catalog}/{kind}/{name}/{version}/yaml:
        get:
            tags:
                - resource
            summary: ByCatalogKindNameVersionYaml resource
            description: Find resource YAML using name of catalog & name, kind and version of resource
            operationId: resource#ByCatalogKindNameVersionYaml
            parameters:
                - name: catalog
                  in: path
                  description: name of catalog
                  required: true
                  type: string
                - name: kind
                  in: path
                  description: kind of resource
                  required: true
                  type: string
                  enum:
                    - task
                    - pipeline
                - name: name
                  in: path
                  description: name of resource
                  required: true
                  type: string
                - name: version
                  in: path
                  description: version of resource
                  required: true
                  type: string
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionYamlResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionYamlNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceByCatalogKindNameVersionYamlInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{catalog}/{kind}/{name}/raw:
        get:
            tags:
                - resource
            summary: GetLatestRawYamlByCatalogKindName resource
            description: Fetch a raw latest resource yaml file using the name of catalog, resource name, and kind
            operationId: resource#GetLatestRawYamlByCatalogKindName
            parameters:
                - name: catalog
                  in: path
                  description: name of catalog
                  required: true
                  type: string
                - name: kind
                  in: path
                  description: kind of resource
                  required: true
                  type: string
                  enum:
                    - task
                    - pipeline
                - name: name
                  in: path
                  description: name of resource
                  required: true
                  type: string
            responses:
                "200":
                    description: OK response.
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceGetLatestRawYamlByCatalogKindNameNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceGetLatestRawYamlByCatalogKindNameInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{id}:
        get:
            tags:
                - resource
            summary: ById resource
            description: Find a resource using it's id
            operationId: resource#ById
            parameters:
                - name: id
                  in: path
                  description: ID of a resource
                  required: true
                  type: integer
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceByIDResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceByIDNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceByIDInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/{id}/versions:
        get:
            tags:
                - resource
            summary: VersionsByID resource
            description: Find all versions of a resource by its id
            operationId: resource#VersionsByID
            parameters:
                - name: id
                  in: path
                  description: ID of a resource
                  required: true
                  type: integer
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceVersionsByIDResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceVersionsByIDNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceVersionsByIDInternalErrorResponseBody'
            schemes:
                - https
    /v1/resource/version/{versionID}:
        get:
            tags:
                - resource
            summary: ByVersionId resource
            description: Find a resource using its version's id
            operationId: resource#ByVersionId
            parameters:
                - name: versionID
                  in: path
                  description: Version ID of a resource's version
                  required: true
                  type: integer
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceByVersionIDResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceByVersionIDNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceByVersionIDInternalErrorResponseBody'
            schemes:
                - https
    /v1/resources:
        get:
            tags:
                - resource
            summary: List resource
            description: List all resources sorted by rating and name
            operationId: resource#List
            parameters:
                - name: limit
                  in: query
                  description: Maximum number of resources to be returned
                  required: false
                  type: integer
                  default: 1000
            responses:
                "200":
                    description: OK response.
                    schema:
                        $ref: '#/definitions/ResourceListResponseBody'
                "404":
                    description: Not Found response.
                    schema:
                        $ref: '#/definitions/ResourceListNotFoundResponseBody'
                "500":
                    description: Internal Server Error response.
                    schema:
                        $ref: '#/definitions/ResourceListInternalErrorResponseBody'
            schemes:
                - https
    /v1/schema/swagger.json:
        get:
            tags:
                - swagger
            summary: Download docs/v1/openapi3.json
            description: JSON document containing the API swagger definition
            operationId: swagger#/v1/schema/swagger.json
            responses:
                "200":
                    description: File downloaded
                    schema:
                        type: file
            schemes:
                - https
definitions:
    CatalogListInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    CatalogListResponseBody:
        title: CatalogListResponseBody
        type: object
        properties:
            data:
                type: array
                items:
                    $ref: '#/definitions/CatalogResponseBody'
                example:
                    - id: 1
                      name: Tekton
                      provider: github
                      type: community
                      url: https://github.com/tektoncd/hub
                    - id: 1
                      name: Tekton
                      provider: github
                      type: community
                      url: https://github.com/tektoncd/hub
                    - id: 1
                      name: Tekton
                      provider: github
                      type: community
                      url: https://github.com/tektoncd/hub
                    - id: 1
                      name: Tekton
                      provider: github
                      type: community
                      url: https://github.com/tektoncd/hub
        example:
            data:
                - id: 1
                  name: Tekton
                  provider: github
                  type: community
                  url: https://github.com/tektoncd/hub
                - id: 1
                  name: Tekton
                  provider: github
                  type: community
                  url: https://github.com/tektoncd/hub
                - id: 1
                  name: Tekton
                  provider: github
                  type: community
                  url: https://github.com/tektoncd/hub
                - id: 1
                  name: Tekton
                  provider: github
                  type: community
                  url: https://github.com/tektoncd/hub
    CatalogResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.catalog; view=default'
        type: object
        properties:
            id:
                type: integer
                description: ID is the unique id of the catalog
                example: 1
                format: int64
            name:
                type: string
                description: Name of catalog
                example: Tekton
            provider:
                type: string
                description: Provider of catalog
                example: github
            type:
                type: string
                description: Type of catalog
                example: community
                enum:
                    - official
                    - community
            url:
                type: string
                description: URL of catalog
                example: https://github.com/tektoncd/hub
        description: CatalogResponseBody result type (default view)
        example:
            id: 1
            name: Tekton
            provider: github
            type: community
            url: https://github.com/tektoncd/hub
        required:
            - id
            - name
            - type
            - url
            - provider
    CatalogResponseBodyMin:
        title: 'Mediatype identifier: application/vnd.hub.catalog; view=default'
        type: object
        properties:
            id:
                type: integer
                description: ID is the unique id of the catalog
                example: 1
                format: int64
            name:
                type: string
                description: Name of catalog
                example: Tekton
            type:
                type: string
                description: Type of catalog
                example: community
                enum:
                    - official
                    - community
        description: CatalogResponseBody result type (min view) (default view)
        example:
            id: 1
            name: Tekton
            type: community
        required:
            - id
            - name
            - type
    CategoryResponseBody:
        title: CategoryResponseBody
        type: object
        properties:
            id:
                type: integer
                description: ID is the unique id of the category
                example: 1
                format: int64
            name:
                type: string
                description: Name of category
                example: Image Builder
        example:
            id: 1
            name: Image Builder
        required:
            - id
            - name
    PlatformResponseBody:
        title: PlatformResponseBody
        type: object
        properties:
            id:
                type: integer
                description: ID is the unique id of platform
                example: 1
                format: int64
            name:
                type: string
                description: Name of platform
                example: linux/amd64
        example:
            id: 1
            name: linux/amd64
        required:
            - id
            - name
    ResourceByCatalogKindNameInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Internal Server Error (default view)
        example:
            fault: true
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Resource Not Found Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceDataResponseBody'
        description: ByCatalogKindNameResponseBody result type (default view)
        example:
            data:
                catalog:
                    id: 1
                    name: tekton
                    type: community
                categories:
                    - id: 1
                      name: image-build
                hubRawURLPath: /tekton/task/buildah/raw
                hubURLPath: tekton/task/buildah
                id: 1
                kind: task
                latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                name: buildah
                platforms:
                    - id: 1
                      name: linux/amd64
                rating: 4.3
                tags:
                    - id: 1
                      name: image-build
                versions:
                    - id: 1
                      version: "0.1"
                    - id: 2
                      version: "0.2"
        required:
            - data
    ResourceByCatalogKindNameVersionInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameVersionNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Resource Not Found Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameVersionReadmeInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameVersionReadmeNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Resource Not Found Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameVersionReadmeResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource.version.readme; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceContentResponseBodyReadme'
        description: ByCatalogKindNameVersionReadmeResponseBody result type (default view)
        example:
            data:
                readme: |-
                    #Readme
                     Sample readme content
        required:
            - data
    ResourceByCatalogKindNameVersionResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource.version; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceVersionDataResponseBody'
        description: ByCatalogKindNameVersionResponseBody result type (default view)
        example:
            data:
                deprecated: true
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/raw
                hubURLPath: tekton/task/buildah
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/s390x
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                resource:
                    catalog:
                        id: 1
                        type: community
                    categories:
                        - id: 1
                          name: Build Tools
                    id: 1
                    kind: task
                    name: buildah
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rating: 4.3
                    tags:
                        - id: 1
                          name: image-build
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
        required:
            - data
    ResourceByCatalogKindNameVersionYamlInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameVersionYamlNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Resource Not Found Error (default view)
        example:
            fault: true
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByCatalogKindNameVersionYamlResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource.version.yaml; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceContentResponseBodyYaml'
        description: ByCatalogKindNameVersionYamlResponseBody result type (default view)
        example:
            data:
                yaml: |-
                    #YAML
                     Sample yaml content
        required:
            - data
    ResourceByIDInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByIDNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Resource Not Found Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByIDResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceDataResponseBody'
        description: ByIdResponseBody result type (default view)
        example:
            data:
                catalog:
                    id: 1
                    name: tekton
                    type: community
                categories:
                    - id: 1
                      name: image-build
                hubRawURLPath: /tekton/task/buildah/raw
                hubURLPath: tekton/task/buildah
                id: 1
                kind: task
                latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                name: buildah
                platforms:
                    - id: 1
                      name: linux/amd64
                rating: 4.3
                tags:
                    - id: 1
                      name: image-build
                versions:
                    - id: 1
                      version: "0.1"
                    - id: 2
                      version: "0.2"
        required:
            - data
    ResourceByVersionIDInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByVersionIDNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Resource Not Found Error (default view)
        example:
            fault: true
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceByVersionIDResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource.version; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceVersionDataResponseBody'
        description: ByVersionIdResponseBody result type (default view)
        example:
            data:
                deprecated: true
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/raw
                hubURLPath: tekton/task/buildah
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/s390x
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                resource:
                    catalog:
                        id: 1
                        type: community
                    categories:
                        - id: 1
                          name: Build Tools
                    id: 1
                    kind: task
                    name: buildah
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rating: 4.3
                    tags:
                        - id: 1
                          name: image-build
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
        required:
            - data
    ResourceContentResponseBodyReadme:
        title: 'Mediatype identifier: application/vnd.hub.resourcecontent; view=default'
        type: object
        properties:
            readme:
                type: string
                description: Readme
                example: |-
                    #Readme
                     Sample readme content
        description: ResourceContentResponseBody result type (readme view) (default view)
        example:
            readme: |-
                #Readme
                 Sample readme content
    ResourceContentResponseBodyYaml:
        title: 'Mediatype identifier: application/vnd.hub.resourcecontent; view=default'
        type: object
        properties:
            yaml:
                type: string
                description: Yaml
                example: |-
                    #YAML
                     Sample yaml content
        description: ResourceContentResponseBody result type (yaml view) (default view)
        example:
            yaml: |-
                #YAML
                 Sample yaml content
    ResourceDataResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource.data; view=default'
        type: object
        properties:
            catalog:
                $ref: '#/definitions/CatalogResponseBodyMin'
            categories:
                type: array
                items:
                    $ref: '#/definitions/CategoryResponseBody'
                description: Categories related to resource
                example:
                    - id: 1
                      name: image-build
            hubRawURLPath:
                type: string
                description: Path of the api to get the raw yaml of resource from hub apiserver
                example: /tekton/task/buildah/raw
            hubURLPath:
                type: string
                description: Url path of the resource in hub
                example: tekton/task/buildah
            id:
                type: integer
                description: ID is the unique id of the resource
                example: 1
                format: int64
            kind:
                type: string
                description: Kind of resource
                example: task
            latestVersion:
                $ref: '#/definitions/ResourceVersionDataResponseBodyWithoutResource'
            name:
                type: string
                description: Name of resource
                example: buildah
            platforms:
                type: array
                items:
                    $ref: '#/definitions/PlatformResponseBody'
                description: Platforms related to resource
                example:
                    - id: 1
                      name: linux/amd64
            rating:
                type: number
                description: Rating of resource
                example: 4.3
                format: double
            tags:
                type: array
                items:
                    $ref: '#/definitions/TagResponseBody'
                description: Tags related to resource
                example:
                    - id: 1
                      name: image-build
            versions:
                type: array
                items:
                    $ref: '#/definitions/ResourceVersionDataResponseBodyTiny'
                description: List of all versions of a resource
                example:
                    - id: 1
                      version: "0.1"
                    - id: 2
                      version: "0.2"
        description: The resource type describes resource information. (default view)
        example:
            catalog:
                id: 1
                name: tekton
                type: community
            categories:
                - id: 1
                  name: image-build
            hubRawURLPath: /tekton/task/buildah/raw
            hubURLPath: tekton/task/buildah
            id: 1
            kind: task
            latestVersion:
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/latest/raw
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/amd64
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
            name: buildah
            platforms:
                - id: 1
                  name: linux/amd64
            rating: 4.3
            tags:
                - id: 1
                  name: image-build
            versions:
                - id: 1
                  version: "0.1"
                - id: 2
                  version: "0.2"
        required:
            - id
            - name
            - catalog
            - categories
            - kind
            - hubURLPath
            - latestVersion
            - tags
            - platforms
            - rating
            - versions
            - hubRawURLPath
    ResourceDataResponseBodyInfo:
        title: 'Mediatype identifier: application/vnd.hub.resource.data; view=default'
        type: object
        properties:
            catalog:
                $ref: '#/definitions/CatalogResponseBodyMin'
            categories:
                type: array
                items:
                    $ref: '#/definitions/CategoryResponseBody'
                description: Categories related to resource
                example:
                    - id: 1
                      name: image-build
            hubURLPath:
                type: string
                description: Url path of the resource in hub
                example: tekton/task/buildah
            id:
                type: integer
                description: ID is the unique id of the resource
                example: 1
                format: int64
            kind:
                type: string
                description: Kind of resource
                example: task
            name:
                type: string
                description: Name of resource
                example: buildah
            platforms:
                type: array
                items:
                    $ref: '#/definitions/PlatformResponseBody'
                description: Platforms related to resource
                example:
                    - id: 1
                      name: linux/amd64
            rating:
                type: number
                description: Rating of resource
                example: 4.3
                format: double
            tags:
                type: array
                items:
                    $ref: '#/definitions/TagResponseBody'
                description: Tags related to resource
                example:
                    - id: 1
                      name: image-build
        description: The resource type describes resource information. (info view) (default view)
        example:
            catalog:
                id: 1
                name: tekton
                type: community
            categories:
                - id: 1
                  name: image-build
            hubURLPath: tekton/task/buildah
            id: 1
            kind: task
            name: buildah
            platforms:
                - id: 1
                  name: linux/amd64
            rating: 4.3
            tags:
                - id: 1
                  name: image-build
        required:
            - id
            - name
            - catalog
            - categories
            - kind
            - hubURLPath
            - tags
            - platforms
            - rating
    ResourceDataResponseBodyWithoutVersion:
        title: 'Mediatype identifier: application/vnd.hub.resource.data; view=default'
        type: object
        properties:
            catalog:
                $ref: '#/definitions/CatalogResponseBodyMin'
            categories:
                type: array
                items:
                    $ref: '#/definitions/CategoryResponseBody'
                description: Categories related to resource
                example:
                    - id: 1
                      name: image-build
            hubRawURLPath:
                type: string
                description: Path of the api to get the raw yaml of resource from hub apiserver
                example: /tekton/task/buildah/raw
            hubURLPath:
                type: string
                description: Url path of the resource in hub
                example: tekton/task/buildah
            id:
                type: integer
                description: ID is the unique id of the resource
                example: 1
                format: int64
            kind:
                type: string
                description: Kind of resource
                example: task
            latestVersion:
                $ref: '#/definitions/ResourceVersionDataResponseBodyWithoutResource'
            name:
                type: string
                description: Name of resource
                example: buildah
            platforms:
                type: array
                items:
                    $ref: '#/definitions/PlatformResponseBody'
                description: Platforms related to resource
                example:
                    - id: 1
                      name: linux/amd64
            rating:
                type: number
                description: Rating of resource
                example: 4.3
                format: double
            tags:
                type: array
                items:
                    $ref: '#/definitions/TagResponseBody'
                description: Tags related to resource
                example:
                    - id: 1
                      name: image-build
        description: The resource type describes resource information. (withoutVersion view) (default view)
        example:
            catalog:
                id: 1
                name: tekton
                type: community
            categories:
                - id: 1
                  name: image-build
            hubRawURLPath: /tekton/task/buildah/raw
            hubURLPath: tekton/task/buildah
            id: 1
            kind: task
            latestVersion:
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/latest/raw
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/amd64
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
            name: buildah
            platforms:
                - id: 1
                  name: linux/amd64
            rating: 4.3
            tags:
                - id: 1
                  name: image-build
        required:
            - id
            - name
            - catalog
            - categories
            - kind
            - hubURLPath
            - latestVersion
            - tags
            - platforms
            - rating
            - hubRawURLPath
    ResourceDataResponseBodyWithoutVersionCollection:
        title: 'Mediatype identifier: application/vnd.hub.resource.data; type=collection; view=default'
        type: array
        items:
            $ref: '#/definitions/ResourceDataResponseBodyWithoutVersion'
        description: ResourceDataResponseBodyWithoutVersionCollection is the result type for an array of ResourceDataResponseBodyWithoutVersion (default view)
        example:
            - catalog:
                id: 1
                name: tekton
                type: community
              categories:
                - id: 1
                  name: image-build
              hubRawURLPath: /tekton/task/buildah/raw
              hubURLPath: tekton/task/buildah
              id: 1
              kind: task
              latestVersion:
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/latest/raw
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/amd64
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
              name: buildah
              platforms:
                - id: 1
                  name: linux/amd64
              rating: 4.3
              tags:
                - id: 1
                  name: image-build
              versions:
                - id: 1
                  version: "0.1"
                - id: 2
                  version: "0.2"
            - catalog:
                id: 1
                name: tekton
                type: community
              categories:
                - id: 1
                  name: image-build
              hubRawURLPath: /tekton/task/buildah/raw
              hubURLPath: tekton/task/buildah
              id: 1
              kind: task
              latestVersion:
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/latest/raw
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/amd64
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
              name: buildah
              platforms:
                - id: 1
                  name: linux/amd64
              rating: 4.3
              tags:
                - id: 1
                  name: image-build
              versions:
                - id: 1
                  version: "0.1"
                - id: 2
                  version: "0.2"
            - catalog:
                id: 1
                name: tekton
                type: community
              categories:
                - id: 1
                  name: image-build
              hubRawURLPath: /tekton/task/buildah/raw
              hubURLPath: tekton/task/buildah
              id: 1
              kind: task
              latestVersion:
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/latest/raw
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/amd64
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
              name: buildah
              platforms:
                - id: 1
                  name: linux/amd64
              rating: 4.3
              tags:
                - id: 1
                  name: image-build
              versions:
                - id: 1
                  version: "0.1"
                - id: 2
                  version: "0.2"
            - catalog:
                id: 1
                name: tekton
                type: community
              categories:
                - id: 1
                  name: image-build
              hubRawURLPath: /tekton/task/buildah/raw
              hubURLPath: tekton/task/buildah
              id: 1
              kind: task
              latestVersion:
                description: Buildah task builds source into a container image and then pushes it to a container registry.
                displayName: Buildah
                hubRawURLPath: /tekton/task/buildah/latest/raw
                id: 1
                minPipelinesVersion: 0.12.1
                platforms:
                    - id: 1
                      name: linux/amd64
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                updatedAt: 2020-01-01 12:00:00 +0000 UTC
                version: "0.1"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
              name: buildah
              platforms:
                - id: 1
                  name: linux/amd64
              rating: 4.3
              tags:
                - id: 1
                  name: image-build
              versions:
                - id: 1
                  version: "0.1"
                - id: 2
                  version: "0.2"
    ResourceGetLatestRawYamlByCatalogKindNameInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceGetLatestRawYamlByCatalogKindNameNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Resource Not Found Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceGetRawYamlByCatalogKindNameVersionInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceGetRawYamlByCatalogKindNameVersionNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Resource Not Found Error (default view)
        example:
            fault: true
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceListInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceListNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Resource Not Found Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceListResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resources; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceDataResponseBodyWithoutVersionCollection'
        description: ListResponseBody result type (default view)
        example:
            data:
                - catalog:
                    id: 1
                    name: tekton
                    type: community
                  categories:
                    - id: 1
                      name: image-build
                  hubRawURLPath: /tekton/task/buildah/raw
                  hubURLPath: tekton/task/buildah
                  id: 1
                  kind: task
                  latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                  name: buildah
                  platforms:
                    - id: 1
                      name: linux/amd64
                  rating: 4.3
                  tags:
                    - id: 1
                      name: image-build
                - catalog:
                    id: 1
                    name: tekton
                    type: community
                  categories:
                    - id: 1
                      name: image-build
                  hubRawURLPath: /tekton/task/buildah/raw
                  hubURLPath: tekton/task/buildah
                  id: 1
                  kind: task
                  latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                  name: buildah
                  platforms:
                    - id: 1
                      name: linux/amd64
                  rating: 4.3
                  tags:
                    - id: 1
                      name: image-build
                - catalog:
                    id: 1
                    name: tekton
                    type: community
                  categories:
                    - id: 1
                      name: image-build
                  hubRawURLPath: /tekton/task/buildah/raw
                  hubURLPath: tekton/task/buildah
                  id: 1
                  kind: task
                  latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                  name: buildah
                  platforms:
                    - id: 1
                      name: linux/amd64
                  rating: 4.3
                  tags:
                    - id: 1
                      name: image-build
        required:
            - data
    ResourceQueryInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Internal Server Error (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceQueryInvalidKindResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: false
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Invalid Resource Kind (default view)
        example:
            fault: false
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceQueryNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: false
        description: Resource Not Found Error (default view)
        example:
            fault: true
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceQueryResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resources; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/ResourceDataResponseBodyWithoutVersionCollection'
        description: QueryResponseBody result type (default view)
        example:
            data:
                - catalog:
                    id: 1
                    name: tekton
                    type: community
                  categories:
                    - id: 1
                      name: image-build
                  hubRawURLPath: /tekton/task/buildah/raw
                  hubURLPath: tekton/task/buildah
                  id: 1
                  kind: task
                  latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                  name: buildah
                  platforms:
                    - id: 1
                      name: linux/amd64
                  rating: 4.3
                  tags:
                    - id: 1
                      name: image-build
                - catalog:
                    id: 1
                    name: tekton
                    type: community
                  categories:
                    - id: 1
                      name: image-build
                  hubRawURLPath: /tekton/task/buildah/raw
                  hubURLPath: tekton/task/buildah
                  id: 1
                  kind: task
                  latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                  name: buildah
                  platforms:
                    - id: 1
                      name: linux/amd64
                  rating: 4.3
                  tags:
                    - id: 1
                      name: image-build
                - catalog:
                    id: 1
                    name: tekton
                    type: community
                  categories:
                    - id: 1
                      name: image-build
                  hubRawURLPath: /tekton/task/buildah/raw
                  hubURLPath: tekton/task/buildah
                  id: 1
                  kind: task
                  latestVersion:
                    description: Buildah task builds source into a container image and then pushes it to a container registry.
                    displayName: Buildah
                    hubRawURLPath: /tekton/task/buildah/latest/raw
                    id: 1
                    minPipelinesVersion: 0.12.1
                    platforms:
                        - id: 1
                          name: linux/amd64
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                    updatedAt: 2020-01-01 12:00:00 +0000 UTC
                    version: "0.1"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                  name: buildah
                  platforms:
                    - id: 1
                      name: linux/amd64
                  rating: 4.3
                  tags:
                    - id: 1
                      name: image-build
        required:
            - data
    ResourceVersionDataResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource.version.data; view=default'
        type: object
        properties:
            deprecated:
                type: boolean
                description: Deprecation status of a version
                example: true
            description:
                type: string
                description: Description of version
                example: Buildah task builds source into a container image and then pushes it to a container registry.
            displayName:
                type: string
                description: Display name of version
                example: Buildah
            hubRawURLPath:
                type: string
                description: Path of the api to get the raw yaml of resource from hub apiserver
                example: /tekton/task/buildah/raw
            hubURLPath:
                type: string
                description: Url path of the resource in hub
                example: tekton/task/buildah
            id:
                type: integer
                description: ID is the unique id of resource's version
                example: 1
                format: int64
            minPipelinesVersion:
                type: string
                description: Minimum pipelines version the resource's version is compatible with
                example: 0.12.1
            platforms:
                type: array
                items:
                    $ref: '#/definitions/PlatformResponseBody'
                description: Platforms related to resource version
                example:
                    - id: 1
                      name: linux/s390x
            rawURL:
                type: string
                description: Raw URL of resource's yaml file of the version
                example: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                format: uri
            resource:
                $ref: '#/definitions/ResourceDataResponseBodyInfo'
            updatedAt:
                type: string
                description: Timestamp when version was last updated
                example: 2020-01-01 12:00:00 +0000 UTC
                format: date-time
            version:
                type: string
                description: Version of resource
                example: "0.1"
            webURL:
                type: string
                description: Web URL of resource's yaml file of the version
                example: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                format: uri
        description: The Version result type describes resource's version information. (default view)
        example:
            deprecated: true
            description: Buildah task builds source into a container image and then pushes it to a container registry.
            displayName: Buildah
            hubRawURLPath: /tekton/task/buildah/raw
            hubURLPath: tekton/task/buildah
            id: 1
            minPipelinesVersion: 0.12.1
            platforms:
                - id: 1
                  name: linux/s390x
            rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
            resource:
                catalog:
                    id: 1
                    type: community
                categories:
                    - id: 1
                      name: Build Tools
                id: 1
                kind: task
                name: buildah
                platforms:
                    - id: 1
                      name: linux/amd64
                rating: 4.3
                tags:
                    - id: 1
                      name: image-build
            updatedAt: 2020-01-01 12:00:00 +0000 UTC
            version: "0.1"
            webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
        required:
            - id
            - version
            - displayName
            - description
            - minPipelinesVersion
            - rawURL
            - webURL
            - updatedAt
            - platforms
            - resource
            - hubURLPath
            - hubRawURLPath
    ResourceVersionDataResponseBodyMin:
        title: 'Mediatype identifier: application/vnd.hub.resource.version.data; view=default'
        type: object
        properties:
            hubRawURLPath:
                type: string
                description: Path of the api to get the raw yaml of resource from hub apiserver
                example: /tekton/task/buildah/raw
            hubURLPath:
                type: string
                description: Url path of the resource in hub
                example: tekton/task/buildah
            id:
                type: integer
                description: ID is the unique id of resource's version
                example: 1
                format: int64
            platforms:
                type: array
                items:
                    $ref: '#/definitions/PlatformResponseBody'
                description: Platforms related to resource version
                example:
                    - id: 1
                      name: linux/s390x
            rawURL:
                type: string
                description: Raw URL of resource's yaml file of the version
                example: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                format: uri
            version:
                type: string
                description: Version of resource
                example: "0.1"
            webURL:
                type: string
                description: Web URL of resource's yaml file of the version
                example: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                format: uri
        description: The Version result type describes resource's version information. (min view) (default view)
        example:
            hubRawURLPath: /tekton/task/buildah/raw
            hubURLPath: tekton/task/buildah
            id: 1
            platforms:
                - id: 1
                  name: linux/s390x
            rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
            version: "0.1"
            webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
        required:
            - id
            - version
            - rawURL
            - webURL
            - platforms
            - hubURLPath
            - hubRawURLPath
    ResourceVersionDataResponseBodyTiny:
        title: 'Mediatype identifier: application/vnd.hub.resource.version.data; view=default'
        type: object
        properties:
            id:
                type: integer
                description: ID is the unique id of resource's version
                example: 1
                format: int64
            version:
                type: string
                description: Version of resource
                example: "0.1"
        description: The Version result type describes resource's version information. (tiny view) (default view)
        example:
            id: 1
            version: "0.1"
        required:
            - id
            - version
    ResourceVersionDataResponseBodyWithoutResource:
        title: 'Mediatype identifier: application/vnd.hub.resource.version.data; view=default'
        type: object
        properties:
            deprecated:
                type: boolean
                description: Deprecation status of a version
                example: true
            description:
                type: string
                description: Description of version
                example: Buildah task builds source into a container image and then pushes it to a container registry.
            displayName:
                type: string
                description: Display name of version
                example: Buildah
            hubRawURLPath:
                type: string
                description: Path of the api to get the raw yaml of resource from hub apiserver
                example: /tekton/task/buildah/raw
            hubURLPath:
                type: string
                description: Url path of the resource in hub
                example: tekton/task/buildah
            id:
                type: integer
                description: ID is the unique id of resource's version
                example: 1
                format: int64
            minPipelinesVersion:
                type: string
                description: Minimum pipelines version the resource's version is compatible with
                example: 0.12.1
            platforms:
                type: array
                items:
                    $ref: '#/definitions/PlatformResponseBody'
                description: Platforms related to resource version
                example:
                    - id: 1
                      name: linux/s390x
            rawURL:
                type: string
                description: Raw URL of resource's yaml file of the version
                example: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                format: uri
            updatedAt:
                type: string
                description: Timestamp when version was last updated
                example: 2020-01-01 12:00:00 +0000 UTC
                format: date-time
            version:
                type: string
                description: Version of resource
                example: "0.1"
            webURL:
                type: string
                description: Web URL of resource's yaml file of the version
                example: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                format: uri
        description: The Version result type describes resource's version information. (withoutResource view) (default view)
        example:
            deprecated: true
            description: Buildah task builds source into a container image and then pushes it to a container registry.
            displayName: Buildah
            hubRawURLPath: /tekton/task/buildah/raw
            hubURLPath: tekton/task/buildah
            id: 1
            minPipelinesVersion: 0.12.1
            platforms:
                - id: 1
                  name: linux/s390x
            rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
            updatedAt: 2020-01-01 12:00:00 +0000 UTC
            version: "0.1"
            webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
        required:
            - id
            - version
            - displayName
            - description
            - minPipelinesVersion
            - rawURL
            - webURL
            - updatedAt
            - platforms
            - hubURLPath
            - hubRawURLPath
    ResourceVersionsByIDInternalErrorResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: false
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Internal Server Error (default view)
        example:
            fault: true
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: true
            timeout: false
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceVersionsByIDNotFoundResponseBody:
        title: 'Mediatype identifier: application/vnd.goa.error; view=default'
        type: object
        properties:
            fault:
                type: boolean
                description: Is the error a server-side fault?
                example: true
            id:
                type: string
                description: ID is a unique identifier for this particular occurrence of the problem.
                example: 123abc
            message:
                type: string
                description: Message is a human-readable explanation specific to this occurrence of the problem.
                example: parameter 'p' must be an integer
            name:
                type: string
                description: Name is the name of this class of errors.
                example: bad_request
            temporary:
                type: boolean
                description: Is the error temporary?
                example: true
            timeout:
                type: boolean
                description: Is the error a timeout?
                example: true
        description: Resource Not Found Error (default view)
        example:
            fault: true
            id: 123abc
            message: parameter 'p' must be an integer
            name: bad_request
            temporary: false
            timeout: true
        required:
            - name
            - id
            - message
            - temporary
            - timeout
            - fault
    ResourceVersionsByIDResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.resource.versions; view=default'
        type: object
        properties:
            data:
                $ref: '#/definitions/VersionsResponseBody'
        description: VersionsByIDResponseBody result type (default view)
        example:
            data:
                latest:
                    hubRawURLPath: /resource/tektoncd/task/buildah/raw
                    id: 2
                    rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.2/buildah.yaml
                    version: "0.2"
                    webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.2/buildah.yaml
                versions:
                    - hubRawURLPath: /resource/tektoncd/task/buildah/0.1/raw
                      id: 1
                      rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                      version: "0.1"
                      webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                    - hubRawURLPath: /resource/tektoncd/task/buildah/0.2/raw
                      id: 2
                      rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.2/buildah.yaml
                      version: "0.2"
                      webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.2/buildah.yaml
        required:
            - data
    TagResponseBody:
        title: TagResponseBody
        type: object
        properties:
            id:
                type: integer
                description: ID is the unique id of tag
                example: 1
                format: int64
            name:
                type: string
                description: Name of tag
                example: image-build
        example:
            id: 1
            name: image-build
        required:
            - id
            - name
    VersionsResponseBody:
        title: 'Mediatype identifier: application/vnd.hub.versions; view=default'
        type: object
        properties:
            latest:
                $ref: '#/definitions/ResourceVersionDataResponseBodyMin'
            versions:
                type: array
                items:
                    $ref: '#/definitions/ResourceVersionDataResponseBodyMin'
                description: List of all versions of resource
                example:
                    - hubRawURLPath: /resource/tektoncd/task/buildah/0.1/raw
                      id: 1
                      rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                      version: "0.1"
                      webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                    - hubRawURLPath: /resource/tektoncd/task/buildah/0.2/raw
                      id: 2
                      rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.2/buildah.yaml
                      version: "0.2"
                      webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.2/buildah.yaml
        description: The Versions type describes response for versions by resource id API. (default view)
        example:
            latest:
                hubRawURLPath: /resource/tektoncd/task/buildah/raw
                id: 2
                rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.2/buildah.yaml
                version: "0.2"
                webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.2/buildah.yaml
            versions:
                - hubRawURLPath: /resource/tektoncd/task/buildah/0.1/raw
                  id: 1
                  rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml
                  version: "0.1"
                  webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml
                - hubRawURLPath: /resource/tektoncd/task/buildah/0.2/raw
                  id: 2
                  rawURL: https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.2/buildah.yaml
                  version: "0.2"
                  webURL: https://github.com/tektoncd/catalog/blob/main/task/buildah/0.2/buildah.yaml
        required:
            - latest
            - versions
