Skip to content

Commit

Permalink
Revert "Bumps goa version and updates the gen folder"
Browse files Browse the repository at this point in the history
This reverts commit c0a5dd1.
  • Loading branch information
PuneetPunamiya authored and tekton-robot committed Aug 20, 2024
1 parent 2c89b95 commit 601817d
Show file tree
Hide file tree
Showing 34 changed files with 1,142 additions and 6,265 deletions.
2 changes: 1 addition & 1 deletion api/gen/http/openapi.json

Large diffs are not rendered by default.

280 changes: 153 additions & 127 deletions api/gen/http/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/gen/http/openapi3.json

Large diffs are not rendered by default.

114 changes: 3 additions & 111 deletions api/gen/http/openapi3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,6 @@ components:
type: string
description: status of the job
example: queued
description: The Job type describes a catalog refresh job that is run asynchronously
required:
- id
- catalogName
Expand All @@ -869,21 +868,6 @@ components:
type: array
items:
$ref: '#/components/schemas/Category'
Platform:
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
required:
- id
- name
RefreshConfigResponseBody:
type: object
properties:
Expand All @@ -893,28 +877,6 @@ components:
example: 41ba391c8baf1fcd3c62c11272b913dc6613f4cf3b1833cfbb32431dc4384c93
required:
- checksum
Resource:
type: object
properties:
data:
$ref: '#/components/schemas/ResourceData'
required:
- data
ResourceContent:
type: object
properties:
readme:
type: string
description: Readme
example: |-
#Readme
Sample readme content
yaml:
type: string
description: Yaml
example: |-
#YAML
Sample yaml content
ResourceData:
type: object
properties:
Expand Down Expand Up @@ -954,7 +916,7 @@ components:
platforms:
type: array
items:
$ref: '#/components/schemas/Platform'
$ref: '#/components/schemas/Category'
description: Platforms related to resource
example:
- id: 1
Expand All @@ -967,7 +929,7 @@ components:
tags:
type: array
items:
$ref: '#/components/schemas/Tag'
$ref: '#/components/schemas/Category'
description: Tags related to resource
example:
- id: 1
Expand Down Expand Up @@ -1000,13 +962,6 @@ components:
type: array
items:
$ref: '#/components/schemas/ResourceData'
ResourceVersion:
type: object
properties:
data:
$ref: '#/components/schemas/ResourceVersionData'
required:
- data
ResourceVersionData:
type: object
properties:
Expand Down Expand Up @@ -1042,7 +997,7 @@ components:
platforms:
type: array
items:
$ref: '#/components/schemas/Platform'
$ref: '#/components/schemas/Category'
description: Platforms related to resource version
example:
- id: 1
Expand Down Expand Up @@ -1082,29 +1037,6 @@ components:
- resource
- hubURLPath
- hubRawURLPath
ResourceVersionReadme:
type: object
properties:
data:
$ref: '#/components/schemas/ResourceContent'
description: README of a particular version of a Resource
required:
- data
ResourceVersionYaml:
type: object
properties:
data:
$ref: '#/components/schemas/ResourceContent'
description: YAML of a particular version of a Resource
required:
- data
ResourceVersions:
type: object
properties:
data:
$ref: '#/components/schemas/Versions'
required:
- data
Resources:
type: object
properties:
Expand All @@ -1120,21 +1052,6 @@ components:
items:
$ref: '#/components/schemas/HubService'
description: List of services and their status
Tag:
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
required:
- id
- name
UpdateAgentRequestBody:
type: object
properties:
Expand Down Expand Up @@ -1173,31 +1090,6 @@ components:
maximum: 5
required:
- rating
Versions:
type: object
properties:
latest:
$ref: '#/components/schemas/ResourceVersionData'
versions:
type: array
items:
$ref: '#/components/schemas/ResourceVersionData'
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.
required:
- latest
- versions
securitySchemes:
jwt_header_Authorization:
type: http
Expand Down
2 changes: 1 addition & 1 deletion api/v1/gen/http/openapi.json

Large diffs are not rendered by default.

Loading

0 comments on commit 601817d

Please sign in to comment.