Skip to content

Commit e2388ba

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

File tree

3 files changed

+0
-295
lines changed

3 files changed

+0
-295
lines changed

client.gen.go

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

models.gen.go

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

spec.json

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@
5252
},
5353
{
5454
"name": "addons"
55-
},
56-
{
57-
"name": "registry"
5855
}
5956
],
6057
"paths": {
@@ -4101,82 +4098,13 @@
41014098
}
41024099
}
41034100
}
4104-
},
4105-
"/registry/auth": {
4106-
"get": {
4107-
"description": "Performs authentication and authorization for our image registry.",
4108-
"operationId": "AuthRegistryRequest",
4109-
"parameters": [
4110-
{
4111-
"in": "header",
4112-
"name": "X-Plugin-Version",
4113-
"schema": {
4114-
"type": "string"
4115-
},
4116-
"description": "Plugin version name",
4117-
"example": "v1.0.0"
4118-
},
4119-
{
4120-
"in": "query",
4121-
"name": "account",
4122-
"schema": {
4123-
"type": "string"
4124-
},
4125-
"description": "Username used for `docker login`"
4126-
},
4127-
{
4128-
"in": "query",
4129-
"name": "scope",
4130-
"schema": {
4131-
"type": "string"
4132-
},
4133-
"description": "Multi-value string containing the repository being access and the operation type (push/pull)"
4134-
}
4135-
],
4136-
"responses": {
4137-
"200": {
4138-
"content": {
4139-
"application/json": {
4140-
"schema": {
4141-
"$ref": "#/components/schemas/RegistryAuthToken"
4142-
}
4143-
}
4144-
},
4145-
"description": "Response"
4146-
},
4147-
"400": {
4148-
"$ref": "#/components/responses/BadRequest"
4149-
},
4150-
"401": {
4151-
"$ref": "#/components/responses/RequiresAuthentication"
4152-
},
4153-
"422": {
4154-
"$ref": "#/components/responses/UnprocessableEntity"
4155-
},
4156-
"500": {
4157-
"$ref": "#/components/responses/InternalError"
4158-
}
4159-
},
4160-
"tags": [
4161-
"registry"
4162-
],
4163-
"security": [
4164-
{
4165-
"basicAuth": []
4166-
}
4167-
]
4168-
}
41694101
}
41704102
},
41714103
"components": {
41724104
"securitySchemes": {
41734105
"bearerAuth": {
41744106
"scheme": "bearer",
41754107
"type": "http"
4176-
},
4177-
"basicAuth": {
4178-
"scheme": "basic",
4179-
"type": "http"
41804108
}
41814109
},
41824110
"schemas": {
@@ -6083,23 +6011,6 @@
60836011
"$ref": "#/components/schemas/APIKeyScope"
60846012
}
60856013
}
6086-
},
6087-
"RegistryAuthToken": {
6088-
"type": "object",
6089-
"description": "JWT token for the image registry",
6090-
"additionalProperties": false,
6091-
"properties": {
6092-
"access_token": {
6093-
"type": "string"
6094-
},
6095-
"token": {
6096-
"type": "string"
6097-
}
6098-
},
6099-
"required": [
6100-
"access_token",
6101-
"token"
6102-
]
61036014
}
61046015
},
61056016
"responses": {

0 commit comments

Comments
 (0)