-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Updated spell schema's damage property #344
docs: Updated spell schema's damage property #344
Conversation
src/swagger/schemas/common.yml
Outdated
damage-at-character-level-model: | ||
description: | | ||
'Spell Damage' | ||
type: object | ||
properties: | ||
damage_at_character_level: | ||
type: object | ||
additionalProperties: true | ||
damage_type: | ||
$ref: './combined.yml#/APIReference' | ||
damage-at-slot-level-model: | ||
description: | | ||
'Spell Damage' | ||
type: object | ||
properties: | ||
damage_at_slot_level: | ||
type: object | ||
additionalProperties: true | ||
damage_type: | ||
$ref: './combined.yml#/APIReference' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put these in spell.yml
for now? I don't think these shapes get used outside of Spells for right now.
src/swagger/swagger.yml
Outdated
@@ -323,3 +323,5 @@ components: | |||
|
|||
schemas: | |||
$ref: './schemas/combined.yml' | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, thank you for the feedback. I added the spell damage models to the spell.yml file.
Co-authored-by: Chris Ward <[email protected]>
🎉 This PR is included in version 3.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
What does this do?
Spell damage schema models added to common.yml file allow for more accurate spell damage schema.
How was it tested?
Followed swagger README instructions to set up local development environment which ran successfully after adding new openapi documentation. Then validated and bundled swagger with no errors. Then manually tested various http requests on Postman successfully.
Is there a Github issue this is resolving?
Yes. This resolves issue #289.
Was any impacted documentation updated to reflect this change?
The changes were made exclusively to the api documentation.
Here's a fun image for your troubles