Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ The API to the Cloudsmith Service
## Overview
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.

- API version: 1.1352.0
- Package version: 0.0.62
- API version: 1.1356.2
- Package version: 0.0.63
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
Expand Down
8 changes: 4 additions & 4 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
url: https://opensource.org/licenses/MIT
termsOfService: https://help.cloudsmith.io
title: Cloudsmith API (v1)
version: 1.1352.0
version: 1.1356.2
servers:
- url: https://api.cloudsmith.io/
security:
Expand Down Expand Up @@ -34748,7 +34748,6 @@ components:
NixPackageUploadRequest:
example:
republish: true
narinfo: narinfo
vulnerability_counts:
high: 6
total: 2
Expand All @@ -34757,6 +34756,7 @@ components:
low: 1
medium: 5
unknown: 7
narinfo_file: narinfo_file
is_malware_detected: true
package_file: package_file
version: version
Expand All @@ -34768,13 +34768,13 @@ components:
readOnly: true
title: Is malware detected
type: boolean
narinfo:
narinfo_file:
description: The narinfo sidecar metadata file (<storeHash>.narinfo). Optional
— the package can be completed later by publishing the matching narinfo
via the native HTTP PUT path.
minLength: 1
nullable: true
title: Narinfo
title: Narinfo file
type: string
package_file:
description: The primary file for the package.
Expand Down
2 changes: 1 addition & 1 deletion api_audit_log.go

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

2 changes: 1 addition & 1 deletion api_badges.go

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

2 changes: 1 addition & 1 deletion api_broadcasts.go

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

2 changes: 1 addition & 1 deletion api_bulk_action.go

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

2 changes: 1 addition & 1 deletion api_distros.go

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

2 changes: 1 addition & 1 deletion api_entitlements.go

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

2 changes: 1 addition & 1 deletion api_files.go

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

2 changes: 1 addition & 1 deletion api_formats.go

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

2 changes: 1 addition & 1 deletion api_metrics.go

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

2 changes: 1 addition & 1 deletion api_namespaces.go

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

2 changes: 1 addition & 1 deletion api_openid.go

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

2 changes: 1 addition & 1 deletion api_orgs.go

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

2 changes: 1 addition & 1 deletion api_packages.go

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

2 changes: 1 addition & 1 deletion api_quota.go

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

2 changes: 1 addition & 1 deletion api_rates.go

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

2 changes: 1 addition & 1 deletion api_recycle_bin.go

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

2 changes: 1 addition & 1 deletion api_repos.go

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

2 changes: 1 addition & 1 deletion api_status.go

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

2 changes: 1 addition & 1 deletion api_storage_regions.go

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

2 changes: 1 addition & 1 deletion api_user.go

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

2 changes: 1 addition & 1 deletion api_users.go

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

2 changes: 1 addition & 1 deletion api_vulnerabilities.go

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

2 changes: 1 addition & 1 deletion api_webhooks.go

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

2 changes: 1 addition & 1 deletion bin/generate
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eou pipefail


PKG_VERSION=${1:-"0.0.62"}
PKG_VERSION=${1:-"0.0.63"}
API_HOST=${2:-"https://api.cloudsmith.io"}

# GNU sed is required for the in-place edits below. It is `gsed` on macOS
Expand Down
4 changes: 2 additions & 2 deletions client.go

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

4 changes: 2 additions & 2 deletions configuration.go

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

38 changes: 19 additions & 19 deletions docs/NixPackageUploadRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**IsMalwareDetected** | Pointer to **bool** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional] [readonly]
**Narinfo** | Pointer to **NullableString** | The narinfo sidecar metadata file (&lt;storeHash&gt;.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path. | [optional]
**NarinfoFile** | Pointer to **NullableString** | The narinfo sidecar metadata file (&lt;storeHash&gt;.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path. | [optional]
**PackageFile** | **string** | The primary file for the package. |
**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional]
Expand Down Expand Up @@ -56,41 +56,41 @@ SetIsMalwareDetected sets IsMalwareDetected field to given value.

HasIsMalwareDetected returns a boolean if a field has been set.

### GetNarinfo
### GetNarinfoFile

`func (o *NixPackageUploadRequest) GetNarinfo() string`
`func (o *NixPackageUploadRequest) GetNarinfoFile() string`

GetNarinfo returns the Narinfo field if non-nil, zero value otherwise.
GetNarinfoFile returns the NarinfoFile field if non-nil, zero value otherwise.

### GetNarinfoOk
### GetNarinfoFileOk

`func (o *NixPackageUploadRequest) GetNarinfoOk() (*string, bool)`
`func (o *NixPackageUploadRequest) GetNarinfoFileOk() (*string, bool)`

GetNarinfoOk returns a tuple with the Narinfo field if it's non-nil, zero value otherwise
GetNarinfoFileOk returns a tuple with the NarinfoFile field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetNarinfo
### SetNarinfoFile

`func (o *NixPackageUploadRequest) SetNarinfo(v string)`
`func (o *NixPackageUploadRequest) SetNarinfoFile(v string)`

SetNarinfo sets Narinfo field to given value.
SetNarinfoFile sets NarinfoFile field to given value.

### HasNarinfo
### HasNarinfoFile

`func (o *NixPackageUploadRequest) HasNarinfo() bool`
`func (o *NixPackageUploadRequest) HasNarinfoFile() bool`

HasNarinfo returns a boolean if a field has been set.
HasNarinfoFile returns a boolean if a field has been set.

### SetNarinfoNil
### SetNarinfoFileNil

`func (o *NixPackageUploadRequest) SetNarinfoNil(b bool)`
`func (o *NixPackageUploadRequest) SetNarinfoFileNil(b bool)`

SetNarinfoNil sets the value for Narinfo to be an explicit nil
SetNarinfoFileNil sets the value for NarinfoFile to be an explicit nil
Comment on lines +86 to +88

### UnsetNarinfo
`func (o *NixPackageUploadRequest) UnsetNarinfo()`
### UnsetNarinfoFile
`func (o *NixPackageUploadRequest) UnsetNarinfoFile()`

UnsetNarinfo ensures that no value is present for Narinfo, not even an explicit nil
UnsetNarinfoFile ensures that no value is present for NarinfoFile, not even an explicit nil
### GetPackageFile

`func (o *NixPackageUploadRequest) GetPackageFile() string`
Expand Down
2 changes: 1 addition & 1 deletion model_allocated_limit.go

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

2 changes: 1 addition & 1 deletion model_allocated_limit_raw.go

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

2 changes: 1 addition & 1 deletion model_alpine_package_upload.go

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

Loading