Skip to content

Commit 0648613

Browse files
committed
1 parent c63d3ba commit 0648613

File tree

142 files changed

+314
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+314
-230
lines changed

.openapi-generator/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.11.0-SNAPSHOT
1+
7.12.0-SNAPSHOT

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# dofusdude-java
22

33
dofusdude
4-
- API version: 1.0.0-rc.8
5-
- Build date: 2024-12-03T12:20:40.270086531Z[Etc/UTC]
6-
- Generator version: 7.11.0-SNAPSHOT
4+
- API version: 1.0.0-rc.9
5+
- Build date: 2025-01-25T11:34:07.552413689Z[Etc/UTC]
6+
- Generator version: 7.12.0-SNAPSHOT
77

88
# Open Ankama Developer Community
99
The all-in-one toolbelt for your next Ankama related project.
@@ -77,7 +77,7 @@ Add this dependency to your project's POM:
7777
<dependency>
7878
<groupId>com.dofusdude</groupId>
7979
<artifactId>dofusdude-java</artifactId>
80-
<version>1.0.0-rc.8</version>
80+
<version>1.0.0-rc.9</version>
8181
<scope>compile</scope>
8282
</dependency>
8383
```
@@ -93,7 +93,7 @@ Add this dependency to your project's build file:
9393
}
9494
9595
dependencies {
96-
implementation "com.dofusdude:dofusdude-java:1.0.0-rc.8"
96+
implementation "com.dofusdude:dofusdude-java:1.0.0-rc.9"
9797
}
9898
```
9999

@@ -107,7 +107,7 @@ mvn clean package
107107

108108
Then manually install the following JARs:
109109

110-
* `target/dofusdude-java-1.0.0-rc.8.jar`
110+
* `target/dofusdude-java-1.0.0-rc.9.jar`
111111
* `target/lib/*.jar`
112112

113113
## Getting Started
@@ -131,8 +131,9 @@ public class Example {
131131
AlmanaxApi apiInstance = new AlmanaxApi(defaultClient);
132132
String language = "en"; // String | code
133133
LocalDate date = LocalDate.parse("Tue Jul 14 00:00:00 UTC 2020"); // LocalDate | yyyy-mm-dd
134+
Integer level = 56; // Integer | character level for the reward_xp field
134135
try {
135-
Almanax result = apiInstance.getAlmanaxDate(language, date);
136+
Almanax result = apiInstance.getAlmanaxDate(language, date, level);
136137
System.out.println(result);
137138
} catch (ApiException e) {
138139
System.err.println("Exception when calling AlmanaxApi#getAlmanaxDate");

api/openapi.yaml

+26-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ info:
3232
name: GPL-3.0
3333
url: https://github.com/dofusdude/doduapi/blob/main/LICENSE
3434
title: dofusdude
35-
version: 1.0.0-rc.8
35+
version: 1.0.0-rc.9
3636
servers:
3737
- description: API
3838
url: https://api.dofusdu.de
@@ -3632,6 +3632,14 @@ paths:
36323632
example: Europe/Paris
36333633
type: string
36343634
style: form
3635+
- description: character level for the reward_xp field
3636+
explode: true
3637+
in: query
3638+
name: level
3639+
required: false
3640+
schema:
3641+
type: integer
3642+
style: form
36353643
responses:
36363644
"200":
36373645
content:
@@ -3680,6 +3688,14 @@ paths:
36803688
format: date
36813689
type: string
36823690
style: simple
3691+
- description: character level for the reward_xp field
3692+
explode: true
3693+
in: query
3694+
name: level
3695+
required: false
3696+
schema:
3697+
type: integer
3698+
style: form
36833699
responses:
36843700
"200":
36853701
content:
@@ -5739,6 +5755,7 @@ components:
57395755
type:
57405756
name: name
57415757
id: id
5758+
reward_xp: 5
57425759
tribute:
57435760
item:
57445761
subtype: subtype
@@ -5764,6 +5781,14 @@ components:
57645781
type: integer
57655782
x-stoplight:
57665783
id: oneb4usnoodzz
5784+
reward_xp:
5785+
description: Optional field that shows when a level is given in the request.
5786+
Shows the experience points you get this day for finishing this Almanax
5787+
quest.
5788+
nullable: true
5789+
type: integer
5790+
x-stoplight:
5791+
id: d1luifqc9whyg
57675792
title: Almanax
57685793
type: object
57695794
x-examples: {}

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.dofusdude'
7-
version = '1.0.0-rc.8'
7+
version = '1.0.0-rc.9'
88

99
buildscript {
1010
repositories {

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.dofusdude",
44
name := "dofusdude-java",
5-
version := "1.0.0-rc.8",
5+
version := "1.0.0-rc.9",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/Almanax.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
|**date** | **String** | | [optional] |
1212
|**tribute** | [**AlmanaxTribute**](AlmanaxTribute.md) | | [optional] |
1313
|**rewardKamas** | **Integer** | Amount of Kamas you get as reward for finishing this Almanax quest. | [optional] |
14+
|**rewardXp** | **Integer** | Optional field that shows when a level is given in the request. Shows the experience points you get this day for finishing this Almanax quest. | [optional] |
1415

1516

1617

docs/AlmanaxApi.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All URIs are relative to *https://api.dofusdu.de*
1010

1111
<a id="getAlmanaxDate"></a>
1212
# **getAlmanaxDate**
13-
> Almanax getAlmanaxDate(language, date)
13+
> Almanax getAlmanaxDate(language, date, level)
1414
1515
Single Almanax Date
1616

@@ -33,8 +33,9 @@ public class Example {
3333
AlmanaxApi apiInstance = new AlmanaxApi(defaultClient);
3434
String language = "en"; // String | code
3535
LocalDate date = LocalDate.parse("Tue Jul 14 00:00:00 UTC 2020"); // LocalDate | yyyy-mm-dd
36+
Integer level = 56; // Integer | character level for the reward_xp field
3637
try {
37-
Almanax result = apiInstance.getAlmanaxDate(language, date);
38+
Almanax result = apiInstance.getAlmanaxDate(language, date, level);
3839
System.out.println(result);
3940
} catch (ApiException e) {
4041
System.err.println("Exception when calling AlmanaxApi#getAlmanaxDate");
@@ -53,6 +54,7 @@ public class Example {
5354
|------------- | ------------- | ------------- | -------------|
5455
| **language** | **String**| code | [enum: en, fr, de, it, es] |
5556
| **date** | **LocalDate**| yyyy-mm-dd | |
57+
| **level** | **Integer**| character level for the reward_xp field | [optional] |
5658

5759
### Return type
5860

@@ -74,7 +76,7 @@ No authorization required
7476

7577
<a id="getAlmanaxRange"></a>
7678
# **getAlmanaxRange**
77-
> List&lt;Almanax&gt; getAlmanaxRange(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone)
79+
> List&lt;Almanax&gt; getAlmanaxRange(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone, level)
7880
7981
Almanax Range
8082

@@ -101,8 +103,9 @@ public class Example {
101103
LocalDate rangeTo = LocalDate.now(); // LocalDate | yyyy-mm-dd
102104
Integer rangeSize = -1; // Integer | Size of the returned range. Disable to fully use the range by setting size to -1.
103105
String timezone = "Europe/Paris"; // String | determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location.
106+
Integer level = 56; // Integer | character level for the reward_xp field
104107
try {
105-
List<Almanax> result = apiInstance.getAlmanaxRange(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone);
108+
List<Almanax> result = apiInstance.getAlmanaxRange(language, filterBonusType, rangeFrom, rangeTo, rangeSize, timezone, level);
106109
System.out.println(result);
107110
} catch (ApiException e) {
108111
System.err.println("Exception when calling AlmanaxApi#getAlmanaxRange");
@@ -125,6 +128,7 @@ public class Example {
125128
| **rangeTo** | **LocalDate**| yyyy-mm-dd | [optional] |
126129
| **rangeSize** | **Integer**| Size of the returned range. Disable to fully use the range by setting size to -1. | [optional] |
127130
| **timezone** | **String**| determine what the current time is. If you live in Brazil, \&quot;today\&quot; will be hours apart from Paris. Use your timezone to get results relative to your location. | [optional] [default to Europe/Paris] |
131+
| **level** | **Integer**| character level for the reward_xp field | [optional] |
128132

129133
### Return type
130134

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>dofusdude-java</artifactId>
66
<packaging>jar</packaging>
77
<name>dofusdude-java</name>
8-
<version>1.0.0-rc.8</version>
8+
<version>1.0.0-rc.9</version>
99
<url>https://github.com/dofusdude/dofusdude-java</url>
1010
<description>dofusdude-client</description>
1111
<scm>

src/main/java/com/dofusdude/client/ApiCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* dofusdude
33
* # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
44
*
5-
* The version of the OpenAPI document: 1.0.0-rc.8
5+
* The version of the OpenAPI document: 1.0.0-rc.9
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/dofusdude/client/ApiClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* dofusdude
33
* # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
44
*
5-
* The version of the OpenAPI document: 1.0.0-rc.8
5+
* The version of the OpenAPI document: 1.0.0-rc.9
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -139,7 +139,7 @@ private void init() {
139139
json = new JSON();
140140

141141
// Set default User-Agent.
142-
setUserAgent("OpenAPI-Generator/1.0.0-rc.8/java");
142+
setUserAgent("OpenAPI-Generator/1.0.0-rc.9/java");
143143

144144
authentications = new HashMap<String, Authentication>();
145145
}

src/main/java/com/dofusdude/client/ApiException.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* dofusdude
33
* # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
44
*
5-
* The version of the OpenAPI document: 1.0.0-rc.8
5+
* The version of the OpenAPI document: 1.0.0-rc.9
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,7 +21,7 @@
2121
* <p>ApiException class.</p>
2222
*/
2323
@SuppressWarnings("serial")
24-
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-03T12:20:40.270086531Z[Etc/UTC]", comments = "Generator version: 7.11.0-SNAPSHOT")
24+
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-25T11:34:07.552413689Z[Etc/UTC]", comments = "Generator version: 7.12.0-SNAPSHOT")
2525
public class ApiException extends Exception {
2626
private static final long serialVersionUID = 1L;
2727

src/main/java/com/dofusdude/client/ApiResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* dofusdude
33
* # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
44
*
5-
* The version of the OpenAPI document: 1.0.0-rc.8
5+
* The version of the OpenAPI document: 1.0.0-rc.9
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/dofusdude/client/Configuration.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* dofusdude
33
* # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
44
*
5-
* The version of the OpenAPI document: 1.0.0-rc.8
5+
* The version of the OpenAPI document: 1.0.0-rc.9
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,9 +13,9 @@
1313

1414
package com.dofusdude.client;
1515

16-
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-03T12:20:40.270086531Z[Etc/UTC]", comments = "Generator version: 7.11.0-SNAPSHOT")
16+
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-25T11:34:07.552413689Z[Etc/UTC]", comments = "Generator version: 7.12.0-SNAPSHOT")
1717
public class Configuration {
18-
public static final String VERSION = "1.0.0-rc.8";
18+
public static final String VERSION = "1.0.0-rc.9";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

0 commit comments

Comments
 (0)