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 81fb3c3 commit f0484db
Show file tree
Hide file tree
Showing 141 changed files with 284 additions and 207 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- name: Publish
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
run: dotnet nuget push --api-key "$NUGET_AUTH_TOKEN" --source https://api.nuget.org/v3/index.json src/Dofusdude.Api/bin/Release/Dofusdude.Api.1.0.0-rc.4.nupkg
run: dotnet nuget push --api-key "$NUGET_AUTH_TOKEN" --source https://api.nuget.org/v3/index.json src/Dofusdude.Api/bin/Release/Dofusdude.Api.1.0.0-rc.5.nupkg
10 changes: 5 additions & 5 deletions Dofusdude.Api.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api", "src\Dofusdude.Api\Dofusdude.Api.csproj", "{D2DE3282-6062-43D1-84FF-604B8035B6E7}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api", "src\Dofusdude.Api\Dofusdude.Api.csproj", "{B9433015-DA41-4D4B-98E6-353851474199}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api.Test", "src\Dofusdude.Api.Test\Dofusdude.Api.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D2DE3282-6062-43D1-84FF-604B8035B6E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D2DE3282-6062-43D1-84FF-604B8035B6E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D2DE3282-6062-43D1-84FF-604B8035B6E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D2DE3282-6062-43D1-84FF-604B8035B6E7}.Release|Any CPU.Build.0 = Release|Any CPU
{B9433015-DA41-4D4B-98E6-353851474199}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B9433015-DA41-4D4B-98E6-353851474199}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B9433015-DA41-4D4B-98E6-353851474199}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B9433015-DA41-4D4B-98E6-353851474199}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ Your favorite language is missing? Please let me know!

This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0-rc.4
- SDK version: 1.0.0-rc.4
- API version: 1.0.0-rc.5
- SDK version: 1.0.0-rc.5
- Generator version: 7.11.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h)
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 @@ -359,7 +359,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 @@ -4781,7 +4789,6 @@ components:
id: 10otndsm7bw3k
EquipmentSet:
example:
is_cosmetic: true
effects:
key:
- ignore_int_min: true
Expand All @@ -4804,8 +4811,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 @@ -4833,17 +4842,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 @@ -4866,8 +4878,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 @@ -4900,10 +4914,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 @@ -5084,8 +5102,7 @@ components:
ListEquipmentSets:
example:
sets:
- is_cosmetic: true
effects:
- effects:
key:
- ignore_int_min: true
ignore_int_max: true
Expand All @@ -5107,15 +5124,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 @@ -5137,8 +5155,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
3 changes: 2 additions & 1 deletion docs/EquipmentSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Name | Type | Description | Notes
**EquipmentIds** | **List<int>** | | [optional]
**Effects** | **Dictionary<string, List<Effect>>** | | [optional]
**HighestEquipmentLevel** | **int** | | [optional]
**IsCosmetic** | **bool** | | [optional]
**ContainsCosmetics** | **bool** | | [optional]
**ContainsCosmeticsOnly** | **bool** | | [optional]

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

3 changes: 2 additions & 1 deletion docs/ListEquipmentSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Name | Type | Description | Notes
**Level** | **int** | | [optional]
**Effects** | **Dictionary<string, List<Effect>>** | | [optional]
**EquipmentIds** | **List<int>** | | [optional]
**IsCosmetic** | **bool** | | [optional]
**ContainsCosmetics** | **bool** | | [optional]
**ContainsCosmeticsOnly** | **bool** | | [optional]

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

12 changes: 7 additions & 5 deletions docs/SetsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ No authorization required

<a id="getsetssearch"></a>
# **GetSetsSearch**
> List&lt;ListEquipmentSet&gt; GetSetsSearch (string language, string game, string query, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, int? limit = null, bool? filterIsCosmetic = null)
> List&lt;ListEquipmentSet&gt; GetSetsSearch (string language, string game, string query, int? filterMinHighestEquipmentLevel = null, int? filterMaxHighestEquipmentLevel = null, int? limit = null, bool? filterContainsCosmeticsOnly = null, bool? filterContainsCosmetics = null)
Search Sets

Expand Down Expand Up @@ -258,12 +258,13 @@ namespace Example
var filterMinHighestEquipmentLevel = 195; // int? | only results where the equipment with the highest level is above or equal to this value (optional)
var filterMaxHighestEquipmentLevel = 200; // int? | only results where the equipment with the highest level is below or equal to this value (optional)
var limit = 8; // int? | maximum number of returned results (optional) (default to 8)
var filterIsCosmetic = true; // bool? | 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)
var filterContainsCosmeticsOnly = true; // bool? | 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)
var filterContainsCosmetics = true; // bool? | filter sets based on if they got any cosmetic items in it (optional)
try
{
// Search Sets
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);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand All @@ -284,7 +285,7 @@ This returns an ApiResponse object which contains the response data, status code
try
{
// Search Sets
ApiResponse<List<ListEquipmentSet>> response = apiInstance.GetSetsSearchWithHttpInfo(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic);
ApiResponse<List<ListEquipmentSet>> response = apiInstance.GetSetsSearchWithHttpInfo(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterContainsCosmeticsOnly, filterContainsCosmetics);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
Expand All @@ -307,7 +308,8 @@ catch (ApiException e)
| **filterMinHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is above or equal to this value | [optional] |
| **filterMaxHighestEquipmentLevel** | **int?** | only results where the equipment with the highest level is below or equal to this value | [optional] |
| **limit** | **int?** | maximum number of returned results | [optional] [default to 8] |
| **filterIsCosmetic** | **bool?** | 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** | **bool?** | 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** | **bool?** | filter sets based on if they got any cosmetic items in it | [optional] |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion src/Dofusdude.Api.Test/Api/AlmanaxApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* # 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: stelzo@steado.de
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Dofusdude.Api.Test/Api/ConsumablesApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* # 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: stelzo@steado.de
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Dofusdude.Api.Test/Api/CosmeticsApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* # 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: stelzo@steado.de
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Dofusdude.Api.Test/Api/EquipmentApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* # 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: stelzo@steado.de
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading

0 comments on commit f0484db

Please sign in to comment.