Skip to content

Commit 53057a1

Browse files
committed
chore: Change HTTP body to string type
Signed-off-by: Saravanan Balasubramanian <[email protected]>
1 parent 994ff74 commit 53057a1

File tree

15 files changed

+494
-520
lines changed

15 files changed

+494
-520
lines changed

api/jsonschema/schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5277,7 +5277,6 @@
52775277
"properties": {
52785278
"body": {
52795279
"description": "Body is content of the HTTP Request",
5280-
"format": "byte",
52815280
"type": "string"
52825281
},
52835282
"headers": {

api/openapi-spec/swagger.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9425,8 +9425,7 @@
94259425
"properties": {
94269426
"body": {
94279427
"description": "Body is content of the HTTP Request",
9428-
"type": "string",
9429-
"format": "byte"
9428+
"type": "string"
94309429
},
94319430
"headers": {
94329431
"description": "Headers are an optional list of headers to send with HTTP requests",

docs/fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2841,7 +2841,7 @@ _No description available_
28412841
### Fields
28422842
| Field Name | Field Type | Description |
28432843
|:----------:|:----------:|---------------|
2844-
|`body`|`byte`|Body is content of the HTTP Request|
2844+
|`body`|`string`|Body is content of the HTTP Request|
28452845
|`headers`|`Array<`[`HTTPHeader`](#httpheader)`>`|Headers are an optional list of headers to send with HTTP requests|
28462846
|`method`|`string`|Method is HTTP methods for HTTP Request|
28472847
|`timeoutSeconds`|`integer`|TimeoutSeconds is request timeout for HTTP Request. Default is 30 seconds|

manifests/base/crds/full/argoproj.io_clusterworkflowtemplates.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4125,7 +4125,6 @@ spec:
41254125
http:
41264126
properties:
41274127
body:
4128-
format: byte
41294128
type: string
41304129
headers:
41314130
items:
@@ -10576,7 +10575,6 @@ spec:
1057610575
http:
1057710576
properties:
1057810577
body:
10579-
format: byte
1058010578
type: string
1058110579
headers:
1058210580
items:

manifests/base/crds/full/argoproj.io_cronworkflows.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4146,7 +4146,6 @@ spec:
41464146
http:
41474147
properties:
41484148
body:
4149-
format: byte
41504149
type: string
41514150
headers:
41524151
items:
@@ -10597,7 +10596,6 @@ spec:
1059710596
http:
1059810597
properties:
1059910598
body:
10600-
format: byte
1060110599
type: string
1060210600
headers:
1060310601
items:

manifests/base/crds/full/argoproj.io_workflows.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4134,7 +4134,6 @@ spec:
41344134
http:
41354135
properties:
41364136
body:
4137-
format: byte
41384137
type: string
41394138
headers:
41404139
items:
@@ -10585,7 +10584,6 @@ spec:
1058510584
http:
1058610585
properties:
1058710586
body:
10588-
format: byte
1058910587
type: string
1059010588
headers:
1059110589
items:
@@ -20036,7 +20034,6 @@ spec:
2003620034
http:
2003720035
properties:
2003820036
body:
20039-
format: byte
2004020037
type: string
2004120038
headers:
2004220039
items:
@@ -27566,7 +27563,6 @@ spec:
2756627563
http:
2756727564
properties:
2756827565
body:
27569-
format: byte
2757027566
type: string
2757127567
headers:
2757227568
items:
@@ -34017,7 +34013,6 @@ spec:
3401734013
http:
3401834014
properties:
3401934015
body:
34020-
format: byte
3402134016
type: string
3402234017
headers:
3402334018
items:

manifests/base/crds/full/argoproj.io_workflowtasksets.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3048,7 +3048,6 @@ spec:
30483048
http:
30493049
properties:
30503050
body:
3051-
format: byte
30523051
type: string
30533052
headers:
30543053
items:

manifests/base/crds/full/argoproj.io_workflowtemplates.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4124,7 +4124,6 @@ spec:
41244124
http:
41254125
properties:
41264126
body:
4127-
format: byte
41284127
type: string
41294128
headers:
41304129
items:
@@ -10575,7 +10574,6 @@ spec:
1057510574
http:
1057610575
properties:
1057710576
body:
10578-
format: byte
1057910577
type: string
1058010578
headers:
1058110579
items:

pkg/apis/api-rules/violation_exceptions.list

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/
88
API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1,DAGTemplate,Tasks
99
API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1,GitArtifact,Fetch
1010
API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1,HDFSConfig,Addresses
11-
API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1,HTTP,Body
1211
API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1,HTTP,Headers
1312
API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1,HTTPArtifact,Headers
1413
API rule violation: list_type_missing,github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1,Histogram,Buckets

0 commit comments

Comments
 (0)