diff --git a/bindings/java/src/README.md b/bindings/java/src/README.md
index 94452b75..7c360206 100644
--- a/bindings/java/src/README.md
+++ b/bindings/java/src/README.md
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
io.cloudsmith.api
cloudsmith-api
- 2.0.29
+ 2.0.30
compile
```
@@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "io.cloudsmith.api:cloudsmith-api:2.0.29"
+compile "io.cloudsmith.api:cloudsmith-api:2.0.30"
```
### Others
@@ -63,7 +63,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/cloudsmith-api-2.0.29.jar`
+* `target/cloudsmith-api-2.0.30.jar`
* `target/lib/*.jar`
## Getting Started
diff --git a/bindings/java/src/build.gradle b/bindings/java/src/build.gradle
index 31982579..c08d2bea 100644
--- a/bindings/java/src/build.gradle
+++ b/bindings/java/src/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'io.cloudsmith.api'
-version = '2.0.29'
+version = '2.0.30'
buildscript {
repositories {
diff --git a/bindings/java/src/build.json b/bindings/java/src/build.json
index 38a8a470..47d58d3d 100644
--- a/bindings/java/src/build.json
+++ b/bindings/java/src/build.json
@@ -3,7 +3,7 @@
"apiPackage": "io.cloudsmith.api.apis",
"artifactId": "cloudsmith-api",
"artifactUrl": "https://api.cloudsmith.io/?format=openapi",
- "artifactVersion": "2.0.29",
+ "artifactVersion": "2.0.30",
"artifactDescription": "Cloudsmith API",
"dateLibrary": "java8",
"developerName": "Cloudsmith Ltd",
diff --git a/bindings/java/src/build.sbt b/bindings/java/src/build.sbt
index 4aae6d00..2fc79f3e 100644
--- a/bindings/java/src/build.sbt
+++ b/bindings/java/src/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.cloudsmith.api",
name := "cloudsmith-api",
- version := "2.0.29",
+ version := "2.0.30",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/bindings/java/src/pom.xml b/bindings/java/src/pom.xml
index 114f89af..c3b0905b 100644
--- a/bindings/java/src/pom.xml
+++ b/bindings/java/src/pom.xml
@@ -5,7 +5,7 @@
cloudsmith-api
jar
cloudsmith-api
- 2.0.29
+ 2.0.30
https://api.cloudsmith.io/?format=openapi
Cloudsmith API
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java b/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
index 41636664..2f441ca0 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
@@ -87,7 +87,7 @@ public ApiClient() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("Swagger-Codegen/2.0.29/java");
+ setUserAgent("Swagger-Codegen/2.0.30/java");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageFileUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageFileUploadRequest.java
index 5ddfd0b3..af5cd483 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageFileUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageFileUploadRequest.java
@@ -109,7 +109,7 @@ public PackageFileUploadRequest filename(String filename) {
* @return filename
**/
@NotNull
- @Size(min=1) @ApiModelProperty(required = true, value = "Filename for the package file upload.")
+ @Size(min=1,max=255) @ApiModelProperty(required = true, value = "Filename for the package file upload.")
public String getFilename() {
return filename;
}
diff --git a/bindings/python/src/README.md b/bindings/python/src/README.md
index 2ad5cfaf..f17454e5 100644
--- a/bindings/python/src/README.md
+++ b/bindings/python/src/README.md
@@ -4,7 +4,7 @@ The API to the Cloudsmith Service
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
- API version: v1
-- Package version: 2.0.29
+- Package version: 2.0.30
- Build package: io.swagger.codegen.languages.PythonClientCodegen
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
diff --git a/bindings/python/src/build.json b/bindings/python/src/build.json
index acfc2102..b60f95ed 100644
--- a/bindings/python/src/build.json
+++ b/bindings/python/src/build.json
@@ -2,7 +2,7 @@
"hideGenerationTimestamp": true,
"packageName": "cloudsmith_api",
"projectName": "cloudsmith_api",
- "packageVersion": "2.0.29",
+ "packageVersion": "2.0.30",
"packageUrl": "https://api.cloudsmith.io/?format=openapi",
"sortParamsByRequiredFlag": true
}
diff --git a/bindings/python/src/cloudsmith_api/api_client.py b/bindings/python/src/cloudsmith_api/api_client.py
index a214e562..a6d62c82 100644
--- a/bindings/python/src/cloudsmith_api/api_client.py
+++ b/bindings/python/src/cloudsmith_api/api_client.py
@@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
- self.user_agent = 'Swagger-Codegen/2.0.29/python'
+ self.user_agent = 'Swagger-Codegen/2.0.30/python'
self.client_side_validation = configuration.client_side_validation
def __del__(self):
diff --git a/bindings/python/src/cloudsmith_api/configuration.py b/bindings/python/src/cloudsmith_api/configuration.py
index e34ca696..d6fe97c6 100644
--- a/bindings/python/src/cloudsmith_api/configuration.py
+++ b/bindings/python/src/cloudsmith_api/configuration.py
@@ -249,5 +249,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1\n"\
- "SDK Package Version: 2.0.29".\
+ "SDK Package Version: 2.0.30".\
format(env=sys.platform, pyversion=sys.version)
diff --git a/bindings/python/src/cloudsmith_api/models/package_file_upload_request.py b/bindings/python/src/cloudsmith_api/models/package_file_upload_request.py
index 07e0a3cf..0f2a2a45 100644
--- a/bindings/python/src/cloudsmith_api/models/package_file_upload_request.py
+++ b/bindings/python/src/cloudsmith_api/models/package_file_upload_request.py
@@ -88,6 +88,9 @@ def filename(self, filename):
"""
if self._configuration.client_side_validation and filename is None:
raise ValueError("Invalid value for `filename`, must not be `None`") # noqa: E501
+ if (self._configuration.client_side_validation and
+ filename is not None and len(filename) > 255):
+ raise ValueError("Invalid value for `filename`, length must be less than or equal to `255`") # noqa: E501
if (self._configuration.client_side_validation and
filename is not None and len(filename) < 1):
raise ValueError("Invalid value for `filename`, length must be greater than or equal to `1`") # noqa: E501
diff --git a/bindings/python/src/setup.py b/bindings/python/src/setup.py
index d8e29f58..b4c64986 100644
--- a/bindings/python/src/setup.py
+++ b/bindings/python/src/setup.py
@@ -14,7 +14,7 @@
from setuptools import setup, find_packages # noqa: H301
NAME = "cloudsmith_api"
-VERSION = "2.0.29"
+VERSION = "2.0.30"
# To install the library, run the following
#
# python setup.py install
diff --git a/bindings/ruby/src/README.md b/bindings/ruby/src/README.md
index 0a1e054e..1270a844 100644
--- a/bindings/ruby/src/README.md
+++ b/bindings/ruby/src/README.md
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
- API version: v1
-- Package version: 2.0.29
+- Package version: 2.0.30
- Build package: io.swagger.codegen.languages.RubyClientCodegen
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
Then either install the gem locally:
```shell
-gem install ./cloudsmith-api-2.0.29.gem
+gem install ./cloudsmith-api-2.0.30.gem
```
-(for development, run `gem install --dev ./cloudsmith-api-2.0.29.gem` to install the development dependencies)
+(for development, run `gem install --dev ./cloudsmith-api-2.0.30.gem` to install the development dependencies)
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
Finally add this to the Gemfile:
- gem 'cloudsmith-api', '~> 2.0.29'
+ gem 'cloudsmith-api', '~> 2.0.30'
### Install from Git
diff --git a/bindings/ruby/src/build.json b/bindings/ruby/src/build.json
index 44df3834..e3544aae 100644
--- a/bindings/ruby/src/build.json
+++ b/bindings/ruby/src/build.json
@@ -8,7 +8,7 @@
"gemName": "cloudsmith-api",
"gemRequiredRubyVersion": ">= 1.9",
"gemSummary": "Cloudsmith API",
- "gemVersion": "2.0.29",
+ "gemVersion": "2.0.30",
"hideGenerationTimestamp": true,
"moduleName": "CloudsmithApi",
"sortParamsByRequiredFlag": true
diff --git a/bindings/ruby/src/lib/cloudsmith-api/version.rb b/bindings/ruby/src/lib/cloudsmith-api/version.rb
index 4c545dd2..cf4554ae 100644
--- a/bindings/ruby/src/lib/cloudsmith-api/version.rb
+++ b/bindings/ruby/src/lib/cloudsmith-api/version.rb
@@ -11,5 +11,5 @@
=end
module CloudsmithApi
- VERSION = '2.0.29'
+ VERSION = '2.0.30'
end
diff --git a/scripts/common.sh b/scripts/common.sh
index d2d9cd63..bf64397e 100755
--- a/scripts/common.sh
+++ b/scripts/common.sh
@@ -3,7 +3,7 @@ language=${1:-""}
api_url=${2:-${api_url:-"https://api.cloudsmith.io/"}}
api_version=$(curl -s "${api_url}status/check/basic/" | jq -r '.version')
openapi_url="${api_url}?format=openapi"
-package_version="2.0.29"
+package_version="2.0.30"
swagger_codegen_cli_image="swaggerapi/swagger-codegen-cli:v2.4.50"
location=$(curl -s $openapi_url | grep Location | cut -d' ' -f2)