From c0d94d418cb0d1a4fcf007d7ec1cc921a255e3a8 Mon Sep 17 00:00:00 2001 From: Leon Linhart Date: Wed, 10 Jan 2024 15:41:55 +0100 Subject: [PATCH] chore(spec): more case changes and file renames I did not account for file-system case-sensitivity. Oops. --- src/main/kotlin/com/gw2tb/apigen/internal/spec/GW2v1.kt | 6 +++--- .../com/gw2tb/apigen/{v1_ItemIDs.json => v1_ItemIds.json} | 0 .../gw2tb/apigen/{v1_RecipeIDs.json => v1_RecipeIds.json} | 0 .../com/gw2tb/apigen/{v1_SkinIDs.json => v1_SkinIds.json} | 0 .../{v1_WvWMatchDetails.json => v1_WvwMatchDetails.json} | 0 .../gw2tb/apigen/{v1_WvWMatches.json => v1_WvwMatches.json} | 0 .../gw2tb/apigen/{v2_PvPAmulet.json => v2_PvpAmulet.json} | 0 .../com/gw2tb/apigen/{v2_PvPGame.json => v2_PvpGame.json} | 0 .../com/gw2tb/apigen/{v2_PvPHero.json => v2_PvpHero.json} | 0 .../com/gw2tb/apigen/{v2_PvPRank.json => v2_PvpRank.json} | 0 .../gw2tb/apigen/{v2_PvPSeason.json => v2_PvpSeason.json} | 0 ...erboardEntry.json => v2_PvpSeasonsLeaderboardEntry.json} | 0 .../apigen/{v2_PvPStandings.json => v2_PvpStandings.json} | 0 .../com/gw2tb/apigen/{v2_PvPStats.json => v2_PvpStats.json} | 0 .../gw2tb/apigen/{v2_WvWAbility.json => v2_WvwAbility.json} | 0 .../com/gw2tb/apigen/{v2_WvWMatch.json => v2_WvwMatch.json} | 0 .../{v2_WvWMatchOverview.json => v2_WvwMatchOverview.json} | 0 .../apigen/{v2_WvWMatchScore.json => v2_WvwMatchScore.json} | 0 .../apigen/{v2_WvWMatchStats.json => v2_WvwMatchStats.json} | 0 .../apigen/{v2_WvWObjective.json => v2_WvwObjective.json} | 0 .../com/gw2tb/apigen/{v2_WvWRank.json => v2_WvwRank.json} | 0 .../gw2tb/apigen/{v2_WvWUpgrade.json => v2_WvwUpgrade.json} | 0 22 files changed, 3 insertions(+), 3 deletions(-) rename src/main/resources/com/gw2tb/apigen/{v1_ItemIDs.json => v1_ItemIds.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v1_RecipeIDs.json => v1_RecipeIds.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v1_SkinIDs.json => v1_SkinIds.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v1_WvWMatchDetails.json => v1_WvwMatchDetails.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v1_WvWMatches.json => v1_WvwMatches.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPAmulet.json => v2_PvpAmulet.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPGame.json => v2_PvpGame.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPHero.json => v2_PvpHero.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPRank.json => v2_PvpRank.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPSeason.json => v2_PvpSeason.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPSeasonsLeaderboardEntry.json => v2_PvpSeasonsLeaderboardEntry.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPStandings.json => v2_PvpStandings.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_PvPStats.json => v2_PvpStats.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWAbility.json => v2_WvwAbility.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWMatch.json => v2_WvwMatch.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWMatchOverview.json => v2_WvwMatchOverview.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWMatchScore.json => v2_WvwMatchScore.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWMatchStats.json => v2_WvwMatchStats.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWObjective.json => v2_WvwObjective.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWRank.json => v2_WvwRank.json} (100%) rename src/main/resources/com/gw2tb/apigen/{v2_WvWUpgrade.json => v2_WvwUpgrade.json} (100%) diff --git a/src/main/kotlin/com/gw2tb/apigen/internal/spec/GW2v1.kt b/src/main/kotlin/com/gw2tb/apigen/internal/spec/GW2v1.kt index 5dae524e..237ced47 100644 --- a/src/main/kotlin/com/gw2tb/apigen/internal/spec/GW2v1.kt +++ b/src/main/kotlin/com/gw2tb/apigen/internal/spec/GW2v1.kt @@ -306,7 +306,7 @@ internal val GW2v1 = GW2APISpecV1 { }) } V1_ITEMS(summary = "Returns the IDs of the available items.") { - schema(record(name = "ItemIDs", description = "Information about the available items.") { + schema(record(name = "ItemIds", description = "Information about the available items.") { "Items"(array(ITEM_ID), "the IDs of the available items") }) } @@ -483,7 +483,7 @@ internal val GW2v1 = GW2APISpecV1 { }) } V1_RECIPES(summary = "Returns the IDs of the available recipes.") { - schema(record(name = "RecipeIDs", description = "Information about the available recipes.") { + schema(record(name = "RecipeIds", description = "Information about the available recipes.") { "Recipes"(array(RECIPE_ID), "the IDs of the available recipes") }) } @@ -538,7 +538,7 @@ internal val GW2v1 = GW2APISpecV1 { }) } V1_SKINS(summary = "Returns the IDs of the available skins.") { - schema(record(name = "SkinIDs", description = "Information about the available skins.") { + schema(record(name = "SkinIds", description = "Information about the available skins.") { "Skins"(array(SKIN_ID), "the IDs of the available skins") }) } diff --git a/src/main/resources/com/gw2tb/apigen/v1_ItemIDs.json b/src/main/resources/com/gw2tb/apigen/v1_ItemIds.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v1_ItemIDs.json rename to src/main/resources/com/gw2tb/apigen/v1_ItemIds.json diff --git a/src/main/resources/com/gw2tb/apigen/v1_RecipeIDs.json b/src/main/resources/com/gw2tb/apigen/v1_RecipeIds.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v1_RecipeIDs.json rename to src/main/resources/com/gw2tb/apigen/v1_RecipeIds.json diff --git a/src/main/resources/com/gw2tb/apigen/v1_SkinIDs.json b/src/main/resources/com/gw2tb/apigen/v1_SkinIds.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v1_SkinIDs.json rename to src/main/resources/com/gw2tb/apigen/v1_SkinIds.json diff --git a/src/main/resources/com/gw2tb/apigen/v1_WvWMatchDetails.json b/src/main/resources/com/gw2tb/apigen/v1_WvwMatchDetails.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v1_WvWMatchDetails.json rename to src/main/resources/com/gw2tb/apigen/v1_WvwMatchDetails.json diff --git a/src/main/resources/com/gw2tb/apigen/v1_WvWMatches.json b/src/main/resources/com/gw2tb/apigen/v1_WvwMatches.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v1_WvWMatches.json rename to src/main/resources/com/gw2tb/apigen/v1_WvwMatches.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPAmulet.json b/src/main/resources/com/gw2tb/apigen/v2_PvpAmulet.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPAmulet.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpAmulet.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPGame.json b/src/main/resources/com/gw2tb/apigen/v2_PvpGame.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPGame.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpGame.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPHero.json b/src/main/resources/com/gw2tb/apigen/v2_PvpHero.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPHero.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpHero.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPRank.json b/src/main/resources/com/gw2tb/apigen/v2_PvpRank.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPRank.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpRank.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPSeason.json b/src/main/resources/com/gw2tb/apigen/v2_PvpSeason.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPSeason.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpSeason.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPSeasonsLeaderboardEntry.json b/src/main/resources/com/gw2tb/apigen/v2_PvpSeasonsLeaderboardEntry.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPSeasonsLeaderboardEntry.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpSeasonsLeaderboardEntry.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPStandings.json b/src/main/resources/com/gw2tb/apigen/v2_PvpStandings.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPStandings.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpStandings.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_PvPStats.json b/src/main/resources/com/gw2tb/apigen/v2_PvpStats.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_PvPStats.json rename to src/main/resources/com/gw2tb/apigen/v2_PvpStats.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWAbility.json b/src/main/resources/com/gw2tb/apigen/v2_WvwAbility.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWAbility.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwAbility.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWMatch.json b/src/main/resources/com/gw2tb/apigen/v2_WvwMatch.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWMatch.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwMatch.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWMatchOverview.json b/src/main/resources/com/gw2tb/apigen/v2_WvwMatchOverview.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWMatchOverview.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwMatchOverview.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWMatchScore.json b/src/main/resources/com/gw2tb/apigen/v2_WvwMatchScore.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWMatchScore.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwMatchScore.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWMatchStats.json b/src/main/resources/com/gw2tb/apigen/v2_WvwMatchStats.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWMatchStats.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwMatchStats.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWObjective.json b/src/main/resources/com/gw2tb/apigen/v2_WvwObjective.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWObjective.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwObjective.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWRank.json b/src/main/resources/com/gw2tb/apigen/v2_WvwRank.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWRank.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwRank.json diff --git a/src/main/resources/com/gw2tb/apigen/v2_WvWUpgrade.json b/src/main/resources/com/gw2tb/apigen/v2_WvwUpgrade.json similarity index 100% rename from src/main/resources/com/gw2tb/apigen/v2_WvWUpgrade.json rename to src/main/resources/com/gw2tb/apigen/v2_WvwUpgrade.json