Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Oct 16, 2024
1 parent 231bbce commit e8adb68
Show file tree
Hide file tree
Showing 148 changed files with 564 additions and 267 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.0.9.2.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.0.9.3.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", "{2AD6E7DF-CE9F-4887-8617-415D763D3B3D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dofusdude.Api", "src\Dofusdude.Api\Dofusdude.Api.csproj", "{CBD03A1B-3C4A-49F8-BEDB-EB54AFD0E446}"
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
{2AD6E7DF-CE9F-4887-8617-415D763D3B3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2AD6E7DF-CE9F-4887-8617-415D763D3B3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2AD6E7DF-CE9F-4887-8617-415D763D3B3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2AD6E7DF-CE9F-4887-8617-415D763D3B3D}.Release|Any CPU.Build.0 = Release|Any CPU
{CBD03A1B-3C4A-49F8-BEDB-EB54AFD0E446}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CBD03A1B-3C4A-49F8-BEDB-EB54AFD0E446}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CBD03A1B-3C4A-49F8-BEDB-EB54AFD0E446}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CBD03A1B-3C4A-49F8-BEDB-EB54AFD0E446}.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 @@ -37,8 +37,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: 0.9.2
- SDK version: 0.9.2
- API version: 0.9.3
- SDK version: 0.9.3
- Generator version: 7.10.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h)
Expand Down
117 changes: 112 additions & 5 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ info:
... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
title: dofusdude
version: 0.9.2
version: 0.9.3
servers:
- description: API
url: https://api.dofusdu.de
Expand Down Expand Up @@ -400,6 +400,15 @@ paths:
minimum: 1
type: integer
style: form
- description: "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."
explode: true
in: query
name: "filter[is_cosmetic]"
required: false
schema:
type: boolean
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -2646,6 +2655,15 @@ paths:
type: array
uniqueItems: true
style: form
- description: "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."
explode: true
in: query
name: "filter[is_cosmetic]"
required: false
schema:
type: boolean
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -3938,6 +3956,15 @@ paths:
- gzip
type: string
style: simple
- description: "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."
explode: true
in: query
name: "filter[is_cosmetic]"
required: false
schema:
type: boolean
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -4062,6 +4089,20 @@ paths:
- gzip
type: string
style: simple
- description: multi-filter results with the english type name. Add with "wood"
or "+wood" and exclude with "-wood".
explode: false
in: query
name: "filter[type_enum]"
required: false
schema:
example:
- boots
items:
type: string
type: array
uniqueItems: true
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -4202,6 +4243,20 @@ paths:
- gzip
type: string
style: simple
- description: multi-filter results with the english type name. Add with "wood"
or "+wood" and exclude with "-wood".
explode: false
in: query
name: "filter[type_enum]"
required: false
schema:
example:
- boots
items:
type: string
type: array
uniqueItems: true
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -4335,6 +4390,20 @@ paths:
- gzip
type: string
style: simple
- description: multi-filter results with the english type name. Add with "wood"
or "+wood" and exclude with "-wood".
explode: false
in: query
name: "filter[type_enum]"
required: false
schema:
example:
- boots
items:
type: string
type: array
uniqueItems: true
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -4474,6 +4543,20 @@ paths:
- gzip
type: string
style: simple
- description: multi-filter results with the english type name. Add with "wood"
or "+wood" and exclude with "-wood".
explode: false
in: query
name: "filter[type_enum]"
required: false
schema:
example:
- boots
items:
type: string
type: array
uniqueItems: true
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -4608,6 +4691,20 @@ paths:
- gzip
type: string
style: simple
- description: multi-filter results with the english type name. Add with "wood"
or "+wood" and exclude with "-wood".
explode: false
in: query
name: "filter[type_enum]"
required: false
schema:
example:
- boots
items:
type: string
type: array
uniqueItems: true
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -6110,6 +6207,7 @@ components:
id: t7g4fratmdgkx
Equipment-Set:
example:
is_cosmetic: true
effects:
- - ignore_int_min: true
ignore_int_max: true
Expand Down Expand Up @@ -6179,12 +6277,16 @@ components:
type: array
highest_equipment_level:
type: integer
title: ""
is_cosmetic:
type: boolean
x-stoplight:
id: 7d1w5073pqtt7
type: object
x-stoplight:
id: xmkp08r20yq44
Set-List-Entry:
example:
is_cosmetic: true
effects:
- - ignore_int_min: true
ignore_int_max: true
Expand Down Expand Up @@ -6259,7 +6361,10 @@ components:
type: integer
nullable: true
type: array
title: ""
is_cosmetic:
type: boolean
x-stoplight:
id: uztiykrx0bobf
type: object
x-examples: {}
x-stoplight:
Expand Down Expand Up @@ -6525,7 +6630,8 @@ components:
Sets-List-Paged:
example:
sets:
- effects:
- is_cosmetic: true
effects:
- - ignore_int_min: true
ignore_int_max: true
item_combination: 2
Expand Down Expand Up @@ -6577,7 +6683,8 @@ components:
- 7
items: 6
ankama_id: 0
- effects:
- is_cosmetic: true
effects:
- - ignore_int_min: true
ignore_int_max: true
item_combination: 2
Expand Down
8 changes: 5 additions & 3 deletions docs/ConsumablesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ All URIs are relative to *https://api.dofusdu.de*

<a id="getallitemsconsumableslist"></a>
# **GetAllItemsConsumablesList**
> ItemsListPaged GetAllItemsConsumablesList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null)
> ItemsListPaged GetAllItemsConsumablesList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List<string>? filterTypeEnum = null)
List All Consumables

Expand Down Expand Up @@ -41,11 +41,12 @@ namespace Example
var filterMinLevel = 150; // int? | only results which level is equal or above this value (optional)
var filterMaxLevel = 180; // int? | only results which level is equal or below this value (optional)
var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional)
var filterTypeEnum = new List<string>?(); // List<string>? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
try
{
// List All Consumables
ItemsListPaged result = apiInstance.GetAllItemsConsumablesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding);
ItemsListPaged result = apiInstance.GetAllItemsConsumablesList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand All @@ -66,7 +67,7 @@ This returns an ApiResponse object which contains the response data, status code
try
{
// List All Consumables
ApiResponse<ItemsListPaged> response = apiInstance.GetAllItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding);
ApiResponse<ItemsListPaged> response = apiInstance.GetAllItemsConsumablesListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
Expand All @@ -90,6 +91,7 @@ catch (ApiException e)
| **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] |
| **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] |
| **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] |
| **filterTypeEnum** | [**List&lt;string&gt;?**](string.md) | multi-filter results with the english type name. Add with \&quot;wood\&quot; or \&quot;+wood\&quot; and exclude with \&quot;-wood\&quot;. | [optional] |

### Return type

Expand Down
8 changes: 5 additions & 3 deletions docs/CosmeticsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ All URIs are relative to *https://api.dofusdu.de*

<a id="getallcosmeticslist"></a>
# **GetAllCosmeticsList**
> ItemsListPaged GetAllCosmeticsList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null)
> ItemsListPaged GetAllCosmeticsList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List<string>? filterTypeEnum = null)
List All Cosmetics

Expand Down Expand Up @@ -41,11 +41,12 @@ namespace Example
var filterMinLevel = 1; // int? | only results which level is equal or above this value (optional)
var filterMaxLevel = 5; // int? | only results which level is equal or below this value (optional)
var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional)
var filterTypeEnum = new List<string>?(); // List<string>? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
try
{
// List All Cosmetics
ItemsListPaged result = apiInstance.GetAllCosmeticsList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding);
ItemsListPaged result = apiInstance.GetAllCosmeticsList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand All @@ -66,7 +67,7 @@ This returns an ApiResponse object which contains the response data, status code
try
{
// List All Cosmetics
ApiResponse<ItemsListPaged> response = apiInstance.GetAllCosmeticsListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding);
ApiResponse<ItemsListPaged> response = apiInstance.GetAllCosmeticsListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
Expand All @@ -90,6 +91,7 @@ catch (ApiException e)
| **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] |
| **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] |
| **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] |
| **filterTypeEnum** | [**List&lt;string&gt;?**](string.md) | multi-filter results with the english type name. Add with \&quot;wood\&quot; or \&quot;+wood\&quot; and exclude with \&quot;-wood\&quot;. | [optional] |

### Return type

Expand Down
8 changes: 5 additions & 3 deletions docs/EquipmentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ All URIs are relative to *https://api.dofusdu.de*

<a id="getallitemsequipmentlist"></a>
# **GetAllItemsEquipmentList**
> ItemsListPaged GetAllItemsEquipmentList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null)
> ItemsListPaged GetAllItemsEquipmentList (string language, string game, string? sortLevel = null, string? filterTypeName = null, int? filterMinLevel = null, int? filterMaxLevel = null, string? acceptEncoding = null, List<string>? filterTypeEnum = null)
List All Equipment

Expand Down Expand Up @@ -41,11 +41,12 @@ namespace Example
var filterMinLevel = 10; // int? | only results which level is equal or above this value (optional)
var filterMaxLevel = 60; // int? | only results which level is equal or below this value (optional)
var acceptEncoding = "gzip"; // string? | optional compression for saving bandwidth (optional)
var filterTypeEnum = new List<string>?(); // List<string>? | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
try
{
// List All Equipment
ItemsListPaged result = apiInstance.GetAllItemsEquipmentList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding);
ItemsListPaged result = apiInstance.GetAllItemsEquipmentList(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum);
Debug.WriteLine(result);
}
catch (ApiException e)
Expand All @@ -66,7 +67,7 @@ This returns an ApiResponse object which contains the response data, status code
try
{
// List All Equipment
ApiResponse<ItemsListPaged> response = apiInstance.GetAllItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding);
ApiResponse<ItemsListPaged> response = apiInstance.GetAllItemsEquipmentListWithHttpInfo(language, game, sortLevel, filterTypeName, filterMinLevel, filterMaxLevel, acceptEncoding, filterTypeEnum);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
Expand All @@ -90,6 +91,7 @@ catch (ApiException e)
| **filterMinLevel** | **int?** | only results which level is equal or above this value | [optional] |
| **filterMaxLevel** | **int?** | only results which level is equal or below this value | [optional] |
| **acceptEncoding** | **string?** | optional compression for saving bandwidth | [optional] |
| **filterTypeEnum** | [**List&lt;string&gt;?**](string.md) | multi-filter results with the english type name. Add with \&quot;wood\&quot; or \&quot;+wood\&quot; and exclude with \&quot;-wood\&quot;. | [optional] |

### Return type

Expand Down
1 change: 1 addition & 0 deletions docs/EquipmentSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**EquipmentIds** | **List&lt;int&gt;** | | [optional]
**Effects** | **List&lt;List&lt;SetEffectsEntry&gt;&gt;** | | [optional]
**HighestEquipmentLevel** | **int** | | [optional]
**IsCosmetic** | **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)

Loading

0 comments on commit e8adb68

Please sign in to comment.