Skip to content

Commit

Permalink
fix(spec): remove wrong cache-time for /v1/skins
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrMilchmann committed May 1, 2021
1 parent f335c37 commit bc6a862
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/main/kotlin/com/gw2tb/apigen/internal/spec/GW2v1.kt
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ internal val GW2v1 = GW2APIVersion({ APIVersionBuilder.V1() }) {
}
"/Skins" {
summary = "Returns the IDs of the available skins."
cache = 1.hours

schema(array(INTEGER, "the IDs of the available skins"))
}
Expand Down
5 changes: 1 addition & 4 deletions src/test/kotlin/com/gw2tb/apigen/test/spec/GW2v1.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ class GW2v1 : SpecTest<APIQuery.V1, APIType.V1, GW2v1.ExpectedAPIv1Query>(
queryParameters = listOf(ExpectedQueryParameter("skin_id", INTEGER))
)

expectQuery(
"/Skins",
cache = 60.minutes
)
expectQuery("/Skins")

expectQuery(
"/world_names",
Expand Down

0 comments on commit bc6a862

Please sign in to comment.