Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Nov 30, 2024
1 parent 678a2b9 commit 46051a6
Show file tree
Hide file tree
Showing 142 changed files with 372 additions and 269 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# dofusdude-java

dofusdude
- API version: 1.0.0-rc.4
- Build date: 2024-11-30T09:44:43.172394287Z[Etc/UTC]
- API version: 1.0.0-rc.5
- Build date: 2024-11-30T22:46:40.395678040Z[Etc/UTC]
- Generator version: 7.11.0-SNAPSHOT

# Open Ankama Developer Community
Expand Down Expand Up @@ -77,7 +77,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.dofusdude</groupId>
<artifactId>dofusdude-java</artifactId>
<version>1.0.0-rc.4</version>
<version>1.0.0-rc.5</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -93,7 +93,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "com.dofusdude:dofusdude-java:1.0.0-rc.4"
implementation "com.dofusdude:dofusdude-java:1.0.0-rc.5"
}
```

Expand All @@ -107,7 +107,7 @@ mvn clean package

Then manually install the following JARs:

* `target/dofusdude-java-1.0.0-rc.4.jar`
* `target/dofusdude-java-1.0.0-rc.5.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
40 changes: 30 additions & 10 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ info:
name: GPL-3.0
url: https://github.com/dofusdude/doduapi/blob/main/LICENSE
title: dofusdude
version: 1.0.0-rc.4
version: 1.0.0-rc.5
servers:
- description: API
url: https://api.dofusdu.de
Expand Down Expand Up @@ -363,7 +363,15 @@ paths:
\ If true, the item ids are for the cosmetic endpoints instead of equipment."
explode: true
in: query
name: "filter[is_cosmetic]"
name: "filter[contains_cosmetics_only]"
required: false
schema:
type: boolean
style: form
- description: filter sets based on if they got any cosmetic items in it
explode: true
in: query
name: "filter[contains_cosmetics]"
required: false
schema:
type: boolean
Expand Down Expand Up @@ -4893,7 +4901,6 @@ components:
id: 10otndsm7bw3k
EquipmentSet:
example:
is_cosmetic: true
effects:
key:
- ignore_int_min: true
Expand All @@ -4916,8 +4923,10 @@ components:
name: name
id: 5
int_minimum: 1
contains_cosmetics: true
highest_equipment_level: 1
name: name
contains_cosmetics_only: true
equipment_ids:
- 6
- 6
Expand Down Expand Up @@ -4945,17 +4954,20 @@ components:
id: kdx5a0h3kp09h
highest_equipment_level:
type: integer
is_cosmetic:
contains_cosmetics:
type: boolean
x-stoplight:
id: 7d1w5073pqtt7
contains_cosmetics_only:
type: boolean
x-stoplight:
id: vcdkkf976dyux
title: EquipmentSet
type: object
x-stoplight:
id: xmkp08r20yq44
ListEquipmentSet:
example:
is_cosmetic: true
effects:
key:
- ignore_int_min: true
Expand All @@ -4978,8 +4990,10 @@ components:
name: name
id: 5
int_minimum: 1
contains_cosmetics: true
level: 1
name: name
contains_cosmetics_only: true
equipment_ids:
- 5
- 5
Expand Down Expand Up @@ -5012,10 +5026,14 @@ components:
type: integer
nullable: true
type: array
is_cosmetic:
contains_cosmetics:
type: boolean
x-stoplight:
id: uztiykrx0bobf
contains_cosmetics_only:
type: boolean
x-stoplight:
id: pv2l87kyv9fxa
title: ListSet
type: object
x-examples: {}
Expand Down Expand Up @@ -5196,8 +5214,7 @@ components:
ListEquipmentSets:
example:
sets:
- is_cosmetic: true
effects:
- effects:
key:
- ignore_int_min: true
ignore_int_max: true
Expand All @@ -5219,15 +5236,16 @@ components:
name: name
id: 5
int_minimum: 1
contains_cosmetics: true
level: 1
name: name
contains_cosmetics_only: true
equipment_ids:
- 5
- 5
items: 6
ankama_id: 0
- is_cosmetic: true
effects:
- effects:
key:
- ignore_int_min: true
ignore_int_max: true
Expand All @@ -5249,8 +5267,10 @@ components:
name: name
id: 5
int_minimum: 1
contains_cosmetics: true
level: 1
name: name
contains_cosmetics_only: true
equipment_ids:
- 5
- 5
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'com.dofusdude'
version = '1.0.0-rc.4'
version = '1.0.0-rc.5'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion 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 := "com.dofusdude",
name := "dofusdude-java",
version := "1.0.0-rc.4",
version := "1.0.0-rc.5",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
3 changes: 2 additions & 1 deletion docs/EquipmentSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
|**equipmentIds** | **List&lt;Integer&gt;** | | [optional] |
|**effects** | **Map&lt;String, List&lt;Effect&gt;&gt;** | | [optional] |
|**highestEquipmentLevel** | **Integer** | | [optional] |
|**isCosmetic** | **Boolean** | | [optional] |
|**containsCosmetics** | **Boolean** | | [optional] |
|**containsCosmeticsOnly** | **Boolean** | | [optional] |



3 changes: 2 additions & 1 deletion docs/ListEquipmentSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
|**level** | **Integer** | | [optional] |
|**effects** | **Map&lt;String, List&lt;Effect&gt;&gt;** | | [optional] |
|**equipmentIds** | **List&lt;Integer&gt;** | | [optional] |
|**isCosmetic** | **Boolean** | | [optional] |
|**containsCosmetics** | **Boolean** | | [optional] |
|**containsCosmeticsOnly** | **Boolean** | | [optional] |



10 changes: 6 additions & 4 deletions docs/SetsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ No authorization required

<a id="getSetsSearch"></a>
# **getSetsSearch**
> List&lt;ListEquipmentSet&gt; getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic)
> List&lt;ListEquipmentSet&gt; getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterContainsCosmeticsOnly, filterContainsCosmetics)
Search Sets

Expand All @@ -199,9 +199,10 @@ public class Example {
Integer filterMinHighestEquipmentLevel = 195; // Integer | only results where the equipment with the highest level is above or equal to this value
Integer filterMaxHighestEquipmentLevel = 200; // Integer | only results where the equipment with the highest level is below or equal to this value
Integer limit = 8; // Integer | maximum number of returned results
Boolean filterIsCosmetic = true; // Boolean | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment.
Boolean filterContainsCosmeticsOnly = true; // Boolean | filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment.
Boolean filterContainsCosmetics = true; // Boolean | filter sets based on if they got any cosmetic items in it
try {
List<ListEquipmentSet> result = apiInstance.getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic);
List<ListEquipmentSet> result = apiInstance.getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterContainsCosmeticsOnly, filterContainsCosmetics);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SetsApi#getSetsSearch");
Expand All @@ -224,7 +225,8 @@ public class Example {
| **filterMinHighestEquipmentLevel** | **Integer**| only results where the equipment with the highest level is above or equal to this value | [optional] |
| **filterMaxHighestEquipmentLevel** | **Integer**| only results where the equipment with the highest level is below or equal to this value | [optional] |
| **limit** | **Integer**| maximum number of returned results | [optional] [default to 8] |
| **filterIsCosmetic** | **Boolean**| filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. | [optional] |
| **filterContainsCosmeticsOnly** | **Boolean**| filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. | [optional] |
| **filterContainsCosmetics** | **Boolean**| filter sets based on if they got any cosmetic items in it | [optional] |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>dofusdude-java</artifactId>
<packaging>jar</packaging>
<name>dofusdude-java</name>
<version>1.0.0-rc.4</version>
<version>1.0.0-rc.5</version>
<url>https://github.com/dofusdude/dofusdude-java</url>
<description>dofusdude-client</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/dofusdude/client/ApiCallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* dofusdude
* # 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).
*
* The version of the OpenAPI document: 1.0.0-rc.4
* The version of the OpenAPI document: 1.0.0-rc.5
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/dofusdude/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* dofusdude
* # 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).
*
* The version of the OpenAPI document: 1.0.0-rc.4
* The version of the OpenAPI document: 1.0.0-rc.5
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -139,7 +139,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/1.0.0-rc.4/java");
setUserAgent("OpenAPI-Generator/1.0.0-rc.5/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/dofusdude/client/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* dofusdude
* # 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).
*
* The version of the OpenAPI document: 1.0.0-rc.4
* The version of the OpenAPI document: 1.0.0-rc.5
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -21,7 +21,7 @@
* <p>ApiException class.</p>
*/
@SuppressWarnings("serial")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-30T09:44:43.172394287Z[Etc/UTC]", comments = "Generator version: 7.11.0-SNAPSHOT")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-30T22:46:40.395678040Z[Etc/UTC]", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/dofusdude/client/ApiResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* dofusdude
* # 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).
*
* The version of the OpenAPI document: 1.0.0-rc.4
* The version of the OpenAPI document: 1.0.0-rc.5
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading

0 comments on commit 46051a6

Please sign in to comment.