Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
patch:
git apply ./patches/add-env-vars-patch.patch
git apply ./patches/*.patch

generate:
oapi-codegen -package render openapi.yaml > render.go
Expand Down
10 changes: 0 additions & 10 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ paths:
$ref: '#/components/schemas/owner'
cursor:
type: string
format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'406':
Expand Down Expand Up @@ -205,7 +204,6 @@ paths:
$ref: '#/components/schemas/service'
cursor:
type: string
format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'406':
Expand Down Expand Up @@ -377,7 +375,6 @@ paths:
$ref: '#/components/schemas/deploy'
cursor:
type: string
format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
Expand Down Expand Up @@ -493,7 +490,6 @@ paths:
$ref: '#/components/schemas/envVar'
cursor:
type: string
format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
Expand Down Expand Up @@ -535,7 +531,6 @@ paths:
$ref: '#/components/schemas/envVar'
cursor:
type: string
format: byte
'400':
$ref: '#/components/responses/400BadRequest'
'401':
Expand Down Expand Up @@ -609,7 +604,6 @@ paths:
$ref: '#/components/schemas/header'
cursor:
type: string
format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
Expand Down Expand Up @@ -682,7 +676,6 @@ paths:
$ref: '#/components/schemas/route'
cursor:
type: string
format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
Expand Down Expand Up @@ -764,7 +757,6 @@ paths:
$ref: '#/components/schemas/customDomain'
cursor:
type: string
format: byte
'400':
$ref: '#/components/responses/400BadRequest'
'401':
Expand Down Expand Up @@ -1107,7 +1099,6 @@ paths:
$ref: '#/components/schemas/job'
cursor:
type: string
format: byte
example: "abc123"
'400':
$ref: '#/components/responses/400BadRequest'
Expand Down Expand Up @@ -1204,7 +1195,6 @@ components:
description: Cursor to begin retrieving entries for this query
schema:
type: string
format: byte
customDomainIdOrNameParam:
name: customDomainIdOrName
in: path
Expand Down
84 changes: 84 additions & 0 deletions patches/cursors-as-string.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
diff --git a/openapi.yaml b/openapi.yaml
index c458f10..bea19ec 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -53,7 +53,6 @@ paths:
$ref: '#/components/schemas/owner'
cursor:
type: string
- format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'406':
@@ -205,7 +204,6 @@ paths:
$ref: '#/components/schemas/service'
cursor:
type: string
- format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'406':
@@ -377,7 +375,6 @@ paths:
$ref: '#/components/schemas/deploy'
cursor:
type: string
- format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
@@ -493,7 +490,6 @@ paths:
$ref: '#/components/schemas/envVar'
cursor:
type: string
- format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
@@ -535,7 +531,6 @@ paths:
$ref: '#/components/schemas/envVar'
cursor:
type: string
- format: byte
'400':
$ref: '#/components/responses/400BadRequest'
'401':
@@ -609,7 +604,6 @@ paths:
$ref: '#/components/schemas/header'
cursor:
type: string
- format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
@@ -682,7 +676,6 @@ paths:
$ref: '#/components/schemas/route'
cursor:
type: string
- format: byte
'401':
$ref: '#/components/responses/401Unauthorized'
'403':
@@ -764,7 +757,6 @@ paths:
$ref: '#/components/schemas/customDomain'
cursor:
type: string
- format: byte
'400':
$ref: '#/components/responses/400BadRequest'
'401':
@@ -1107,7 +1099,6 @@ paths:
$ref: '#/components/schemas/job'
cursor:
type: string
- format: byte
example: "abc123"
'400':
$ref: '#/components/responses/400BadRequest'
@@ -1204,7 +1195,6 @@ components:
description: Cursor to begin retrieving entries for this query
schema:
type: string
- format: byte
customDomainIdOrNameParam:
name: customDomainIdOrName
in: path
24 changes: 12 additions & 12 deletions render.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.