diff --git a/Source/Clients/v1/Go/Topica.Client/README.md b/Source/Clients/v1/Go/Topica.Client/README.md index cc820de..a0a2c0e 100644 --- a/Source/Clients/v1/Go/Topica.Client/README.md +++ b/Source/Clients/v1/Go/Topica.Client/README.md @@ -6,7 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/opena 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.0 -- Package version: 1.0.0 +- Package version: 0.0.1 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/Source/Clients/v1/Go/Topica.Client/configuration.go b/Source/Clients/v1/Go/Topica.Client/configuration.go index 6fe21fd..7408194 100644 --- a/Source/Clients/v1/Go/Topica.Client/configuration.go +++ b/Source/Clients/v1/Go/Topica.Client/configuration.go @@ -92,7 +92,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/1.0.0/go", + UserAgent: "OpenAPI-Generator/0.0.1/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/Source/Clients/v1/Rust/Topica.Client/Cargo.toml b/Source/Clients/v1/Rust/Topica.Client/Cargo.toml index 0432c57..0f80f72 100644 --- a/Source/Clients/v1/Rust/Topica.Client/Cargo.toml +++ b/Source/Clients/v1/Rust/Topica.Client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "topica" -version = "1.0.0" +version = "0.0.1" authors = ["OpenAPI Generator team and contributors"] description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)" # Override this license by providing a License Object in the OpenAPI. diff --git a/Source/Clients/v1/Rust/Topica.Client/README.md b/Source/Clients/v1/Rust/Topica.Client/README.md index 841d6bd..cd214f0 100644 --- a/Source/Clients/v1/Rust/Topica.Client/README.md +++ b/Source/Clients/v1/Rust/Topica.Client/README.md @@ -8,7 +8,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.0 -- Package version: 1.0.0 +- Package version: 0.0.1 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## Installation diff --git a/Source/Clients/v1/TypeScript/Topica.Client/README.md b/Source/Clients/v1/TypeScript/Topica.Client/README.md index fb399c1..6b8c51c 100644 --- a/Source/Clients/v1/TypeScript/Topica.Client/README.md +++ b/Source/Clients/v1/TypeScript/Topica.Client/README.md @@ -1,4 +1,4 @@ -## topica@1.0.0 +## topica@0.0.1 This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments: @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co _published:_ ``` -npm install topica@1.0.0 --save +npm install topica@0.0.1 --save ``` _unPublished (not recommended):_ diff --git a/Source/Clients/v1/TypeScript/Topica.Client/package.json b/Source/Clients/v1/TypeScript/Topica.Client/package.json index e61335c..5e1c1d6 100644 --- a/Source/Clients/v1/TypeScript/Topica.Client/package.json +++ b/Source/Clients/v1/TypeScript/Topica.Client/package.json @@ -1,6 +1,6 @@ { "name": "topica", - "version": "1.0.0", + "version": "0.0.1", "description": "OpenAPI client for topica", "author": "OpenAPI-Generator", "repository": { diff --git a/Source/Clients/v1/TypeScript/topica.Client/package-lock.json b/Source/Clients/v1/TypeScript/topica.Client/package-lock.json index 4f40761..9d30e06 100644 --- a/Source/Clients/v1/TypeScript/topica.Client/package-lock.json +++ b/Source/Clients/v1/TypeScript/topica.Client/package-lock.json @@ -1,12 +1,12 @@ { "name": "topica", - "version": "1.0.0", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "topica", - "version": "1.0.0", + "version": "0.0.1", "devDependencies": { "typescript": "^4.0" } diff --git a/Source/Scripts/GenerateCode.ts b/Source/Scripts/GenerateCode.ts index 8148acd..2d213fb 100644 --- a/Source/Scripts/GenerateCode.ts +++ b/Source/Scripts/GenerateCode.ts @@ -3,7 +3,7 @@ import fse from "fs-extra"; import { execute } from "./Execute"; const tempFolder = path.join(__dirname, "../temp"); -const version = "1.0.0"; +const version = fse.readFileSync(path.join(__dirname, "../version.txt")); const appName = "topica"; if (fse.existsSync(tempFolder)) fse.removeSync(tempFolder); diff --git a/Source/version.txt b/Source/version.txt new file mode 100644 index 0000000..8a9ecc2 --- /dev/null +++ b/Source/version.txt @@ -0,0 +1 @@ +0.0.1 \ No newline at end of file