Skip to content

Commit

Permalink
fix: correct class spell list example (#621)
Browse files Browse the repository at this point in the history
This is the only place where we do return the
level along with the spell apireference.
  • Loading branch information
ecshreve authored Dec 4, 2024
1 parent f49a053 commit c02b11a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/swagger/api-spec/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
Expand Down
2 changes: 2 additions & 0 deletions src/swagger/api-spec/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/swagger/paths/classes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c02b11a

Please sign in to comment.