Skip to content

Commit a830ee7

Browse files
authored
Upgrade to version 0.0.30 (#20)
1 parent cb41190 commit a830ee7

File tree

261 files changed

+14933
-13305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+14933
-13305
lines changed

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.2.1
1+
7.0.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openapitools/openapi-generator-cli:v6.2.1
1+
FROM openapitools/openapi-generator-cli:v7.0.0
22

33
RUN apt-get update \
44
&& apt-get install -y --no-install-recommends jq golang \

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ The API to the Cloudsmith Service
55
## Overview
66
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
77

8-
- API version: 1.290.2
9-
- Package version: 0.0.14
8+
- API version: 1.297.0
9+
- Package version: 0.0.30
1010
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1111
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
1212

@@ -16,7 +16,6 @@ Install the following dependencies:
1616

1717
```shell
1818
go get github.com/stretchr/testify/assert
19-
go get golang.org/x/oauth2
2019
go get golang.org/x/net/context
2120
```
2221

@@ -537,7 +536,7 @@ Class | Method | HTTP request | Description
537536
## Documentation For Authorization
538537

539538

540-
539+
Authentication schemes defined for the API:
541540
### apikey
542541

543542
- **Type**: API key
@@ -546,6 +545,18 @@ Class | Method | HTTP request | Description
546545

547546
Note, each API key must be added to a map of `map[string]APIKey` where the key is: X-Api-Key and passed in as the auth context for each request.
548547

548+
Example
549+
550+
```golang
551+
auth := context.WithValue(
552+
context.Background(),
553+
sw.ContextAPIKeys,
554+
map[string]sw.APIKey{
555+
"X-Api-Key": {Key: "API_KEY_STRING"},
556+
},
557+
)
558+
r, err := client.Service.Operation(auth, args)
559+
```
549560

550561
### basic
551562

api/openapi.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
url: https://opensource.org/licenses/MIT
1111
termsOfService: https://help.cloudsmith.io
1212
title: Cloudsmith API (v1)
13-
version: 1.290.2
13+
version: 1.297.0
1414
servers:
1515
- url: https://api.cloudsmith.io/v1
1616
security:
@@ -32931,6 +32931,7 @@ components:
3293132931
fingerprint: fingerprint
3293232932
active: true
3293332933
created_at: 2000-01-23T04:56:07.000+00:00
32934+
ssh_fingerprint: ssh_fingerprint
3293432935
fingerprint_short: fingerprint_short
3293532936
properties:
3293632937
active:
@@ -32964,6 +32965,12 @@ components:
3296432965
readOnly: true
3296532966
title: Public key
3296632967
type: string
32968+
ssh_fingerprint:
32969+
description: The SSH fingerprint used by RSA for this key.
32970+
nullable: true
32971+
readOnly: true
32972+
title: Ssh fingerprint
32973+
type: string
3296732974
type: object
3296832975
RepositoryRsaKeyCreate:
3296932976
example:
@@ -36755,7 +36762,7 @@ components:
3675536762
StatusBasic:
3675636763
example:
3675736764
detail: Cloudsmith API is operational.
36758-
version: 1.290.2
36765+
version: 1.297.0
3675936766
properties:
3676036767
detail:
3676136768
default: Cloudsmith API is operational.
@@ -36765,7 +36772,7 @@ components:
3676536772
title: Detail
3676636773
type: string
3676736774
version:
36768-
default: 1.290.2
36775+
default: 1.297.0
3676936776
description: The current version for the Cloudsmith service.
3677036777
minLength: 1
3677136778
readOnly: true
@@ -37025,7 +37032,7 @@ components:
3702537032
type: string
3702637033
version:
3702737034
default: ""
37028-
maxLength: 128
37035+
maxLength: 1024
3702937036
minLength: 1
3703037037
title: Version
3703137038
type: string

api_audit_log.go

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

api_badges.go

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

api_distros.go

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

0 commit comments

Comments
 (0)