Skip to content

Commit

Permalink
[DRE-88] Change artifactVersion (#43)
Browse files Browse the repository at this point in the history
* Changes for upgrade OpenApi - Java

* Changes for upgrade OpenApi - Java

* Changes readme example

* Add ossrh to pom

* Change org-json version

* Change artifactVersion
  • Loading branch information
ezerozen authored Jun 13, 2023
1 parent 4032057 commit 321798b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config-java.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"developerOrganization": "Conekta, Inc.",
"developerOrganizationUrl": "https://www.conekta.io",
"artifactUrl": "https://developers.conekta.com/",
"artifactVersion": "6.0.1",
"artifactVersion": "6.0.0",
"modelPackage": "com.conekta.model",
"licenseName": "MIT License",
"invokerPackage": "com.conekta",
Expand All @@ -31,6 +31,6 @@
"disallowAdditionalPropertiesIfNotPresent": true,
"useOneOfDiscriminatorLookup": true,
"serializationLibrary": "jackson",
"httpUserAgent": "Conekta/v2 JavaBindings/6.0.1",
"httpUserAgent": "Conekta/v2 JavaBindings/",
"openApiNullable" : false
}
2 changes: 1 addition & 1 deletion templates/java/jersey3/ApiClient.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
this.dateFormat = new RFC3339DateFormat();
// Set default User-Agent.
setUserAgent("{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
setUserAgent("{{{httpUserAgent}}}{{artifactVersion}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<>();
Expand Down

0 comments on commit 321798b

Please sign in to comment.