Skip to content

Commit a8d1460

Browse files
authored
fix: Generate CloudQuery Go API Client from spec.json (#242)
This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
1 parent 36913c8 commit a8d1460

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

models.gen.go

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
}
122122
}
123123
},
124-
"required" : false
124+
"required" : true
125125
},
126126
"responses" : {
127127
"200" : {
@@ -6855,7 +6855,7 @@
68556855
},
68566856
"ContentType" : {
68576857
"description" : "The HTTP Content-Type of the image or asset",
6858-
"enum" : [ "image/jpeg", "image/png", "image/gif", "image/webp" ],
6858+
"enum" : [ "image/jpeg", "image/png", "image/webp" ],
68596859
"example" : "image/png",
68606860
"type" : "string"
68616861
},
@@ -8192,7 +8192,7 @@
81928192
"$ref" : "#/components/schemas/ContentType"
81938193
}
81948194
},
8195-
"required" : [ "checksum", "name" ],
8195+
"required" : [ "checksum", "content_type", "name" ],
81968196
"title" : "Create Team Image Request"
81978197
},
81988198
"TeamImage" : {
@@ -10141,7 +10141,8 @@
1014110141
"content_type" : {
1014210142
"$ref" : "#/components/schemas/ContentType"
1014310143
}
10144-
}
10144+
},
10145+
"required" : [ "content_type" ]
1014510146
},
1014610147
"ListPluginNotificationRequests_200_response" : {
1014710148
"properties" : {

0 commit comments

Comments
 (0)