From 622e6d662e2c6882df373d907dfbf1fa23a894f4 Mon Sep 17 00:00:00 2001 From: shreve Date: Tue, 3 Dec 2024 22:34:24 -0800 Subject: [PATCH] fix: correct class spell list example This is the only place where we do return the level along with the spell apireference. --- src/swagger/api-spec/openapi.json | 6 ++++-- src/swagger/api-spec/openapi.yml | 2 ++ src/swagger/paths/classes.yml | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/swagger/api-spec/openapi.json b/src/swagger/api-spec/openapi.json index 6dc940f8..ad3bfb9a 100644 --- a/src/swagger/api-spec/openapi.json +++ b/src/swagger/api-spec/openapi.json @@ -880,12 +880,14 @@ { "index": "power-word-kill", "name": "Power Word Kill", - "url": "/api/spells/power-word-kill" + "url": "/api/spells/power-word-kill", + "level": 9 }, { "index": "true-polymorph", "name": "True Polymorph", - "url": "/api/spells/true-polymorph" + "url": "/api/spells/true-polymorph", + "level": 9 } ] } diff --git a/src/swagger/api-spec/openapi.yml b/src/swagger/api-spec/openapi.yml index ece1ae9a..74a234ac 100644 --- a/src/swagger/api-spec/openapi.yml +++ b/src/swagger/api-spec/openapi.yml @@ -560,9 +560,11 @@ paths: - index: power-word-kill name: Power Word Kill url: /api/spells/power-word-kill + level: 9 - index: true-polymorph name: True Polymorph url: /api/spells/true-polymorph + level: 9 '/api/classes/{index}/spellcasting': get: summary: Get spellcasting info for a class. diff --git a/src/swagger/paths/classes.yml b/src/swagger/paths/classes.yml index d756ad06..3bf42927 100644 --- a/src/swagger/paths/classes.yml +++ b/src/swagger/paths/classes.yml @@ -208,9 +208,11 @@ class-spells-path: - index: power-word-kill name: Power Word Kill url: '/api/spells/power-word-kill' + level: 9 - index: true-polymorph name: True Polymorph url: '/api/spells/true-polymorph' + level: 9 # /api/classes/{index}/spellcasting class-spellcasting-path: get: