Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bindings/java/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>io.cloudsmith.api</groupId>
<artifactId>cloudsmith-api</artifactId>
<version>2.0.19</version>
<version>2.0.20</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -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.19"
compile "io.cloudsmith.api:cloudsmith-api:2.0.20"
```

### Others
Expand All @@ -63,7 +63,7 @@ mvn clean package

Then manually install the following JARs:

* `target/cloudsmith-api-2.0.19.jar`
* `target/cloudsmith-api-2.0.20.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'io.cloudsmith.api'
version = '2.0.19'
version = '2.0.20'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"apiPackage": "io.cloudsmith.api.apis",
"artifactId": "cloudsmith-api",
"artifactUrl": "https://api.cloudsmith.io/?format=openapi",
"artifactVersion": "2.0.19",
"artifactVersion": "2.0.20",
"artifactDescription": "Cloudsmith API",
"dateLibrary": "java8",
"developerName": "Cloudsmith Ltd",
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.cloudsmith.api",
name := "cloudsmith-api",
version := "2.0.19",
version := "2.0.20",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>cloudsmith-api</artifactId>
<packaging>jar</packaging>
<name>cloudsmith-api</name>
<version>2.0.19</version>
<version>2.0.20</version>
<url>https://api.cloudsmith.io/?format&#x3D;openapi</url>
<description>Cloudsmith API</description>
<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public ApiClient() {
json = new JSON();

// Set default User-Agent.
setUserAgent("Swagger-Codegen/2.0.19/java");
setUserAgent("Swagger-Codegen/2.0.20/java");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class StatusBasic implements Serializable {
private String detail = "Cloudsmith API is operational.";

@SerializedName("version")
private String version = "1.703.0";
private String version = "1.704.1";

/**
* The message describing the state of the API.
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cat > $build_json <<EOC
{
"hideGenerationTimestamp": $hide_generation_timestamp,
"packageName": "$project_underscore",
"projectName": "$project_dash",
"projectName": "$project_underscore",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guy

"packageVersion": "$package_version",
"packageUrl": "$openapi_url",
"sortParamsByRequiredFlag": $sort_params
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/src/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# cloudsmith-api
# cloudsmith_api
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.19
- Package version: 2.0.20
- Build package: io.swagger.codegen.languages.PythonClientCodegen
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)

Expand Down
4 changes: 2 additions & 2 deletions bindings/python/src/build.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"hideGenerationTimestamp": true,
"packageName": "cloudsmith_api",
"projectName": "cloudsmith-api",
"packageVersion": "2.0.19",
"projectName": "cloudsmith_api",
"packageVersion": "2.0.20",
"packageUrl": "https://api.cloudsmith.io/?format=openapi",
"sortParamsByRequiredFlag": true
}
2 changes: 1 addition & 1 deletion bindings/python/src/cloudsmith_api/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.19/python'
self.user_agent = 'Swagger-Codegen/2.0.20/python'
self.client_side_validation = configuration.client_side_validation

def __del__(self):
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/src/cloudsmith_api/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,5 +261,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1\n"\
"SDK Package Version: 2.0.19".\
"SDK Package Version: 2.0.20".\
format(env=sys.platform, pyversion=sys.version)
2 changes: 1 addition & 1 deletion bindings/python/src/cloudsmith_api/models/status_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class StatusBasic(object):
'version': 'version'
}

def __init__(self, detail='Cloudsmith API is operational.', version='1.703.0', _configuration=None): # noqa: E501
def __init__(self, detail='Cloudsmith API is operational.', version='1.704.1', _configuration=None): # noqa: E501
"""StatusBasic - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/src/docs/StatusBasic.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**detail** | **str** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.']
**version** | **str** | The current version for the Cloudsmith service. | [optional] [default to '1.703.0']
**version** | **str** | The current version for the Cloudsmith service. | [optional] [default to '1.704.1']

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions bindings/python/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

from setuptools import setup, find_packages # noqa: H301

NAME = "cloudsmith-api"
VERSION = "2.0.19"
NAME = "cloudsmith_api"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guy is now what swagger-codegen-cli produces

VERSION = "2.0.20"
# To install the library, run the following
#
# python setup.py install
Expand Down
8 changes: 4 additions & 4 deletions bindings/ruby/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19
- Package version: 2.0.20
- Build package: io.swagger.codegen.languages.RubyClientCodegen
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)

Expand All @@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
Then either install the gem locally:

```shell
gem install ./cloudsmith-api-2.0.19.gem
gem install ./cloudsmith-api-2.0.20.gem
```
(for development, run `gem install --dev ./cloudsmith-api-2.0.19.gem` to install the development dependencies)
(for development, run `gem install --dev ./cloudsmith-api-2.0.20.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.19'
gem 'cloudsmith-api', '~> 2.0.20'

### Install from Git

Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/src/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"gemName": "cloudsmith-api",
"gemRequiredRubyVersion": ">= 1.9",
"gemSummary": "Cloudsmith API",
"gemVersion": "2.0.19",
"gemVersion": "2.0.20",
"hideGenerationTimestamp": true,
"moduleName": "CloudsmithApi",
"sortParamsByRequiredFlag": true
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/src/docs/StatusBasic.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**detail** | **String** | The message describing the state of the API. | [optional] [default to &#39;Cloudsmith API is operational.&#39;]
**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to &#39;1.703.0&#39;]
**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to &#39;1.704.1&#39;]


Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def initialize(attributes = {})
if attributes.has_key?(:'version')
self.version = attributes[:'version']
else
self.version = '1.703.0'
self.version = '1.704.1'
end
end

Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/src/lib/cloudsmith-api/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module CloudsmithApi
VERSION = '2.0.19'
VERSION = '2.0.20'
end
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.19"
package_version="2.0.20"
swagger_codegen_cli_image="swaggerapi/swagger-codegen-cli:2.4.43"

location=$(curl -s $openapi_url | grep Location | cut -d' ' -f2)
Expand Down