Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cq-bot committed Sep 24, 2024
1 parent 36913c8 commit fe2e21c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions models.gen.go

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

9 changes: 5 additions & 4 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
}
}
},
"required" : false
"required" : true
},
"responses" : {
"200" : {
Expand Down Expand Up @@ -6855,7 +6855,7 @@
},
"ContentType" : {
"description" : "The HTTP Content-Type of the image or asset",
"enum" : [ "image/jpeg", "image/png", "image/gif", "image/webp" ],
"enum" : [ "image/jpeg", "image/png", "image/webp" ],
"example" : "image/png",
"type" : "string"
},
Expand Down Expand Up @@ -8192,7 +8192,7 @@
"$ref" : "#/components/schemas/ContentType"
}
},
"required" : [ "checksum", "name" ],
"required" : [ "checksum", "content_type", "name" ],
"title" : "Create Team Image Request"
},
"TeamImage" : {
Expand Down Expand Up @@ -10141,7 +10141,8 @@
"content_type" : {
"$ref" : "#/components/schemas/ContentType"
}
}
},
"required" : [ "content_type" ]
},
"ListPluginNotificationRequests_200_response" : {
"properties" : {
Expand Down

0 comments on commit fe2e21c

Please sign in to comment.