Skip to content

Commit

Permalink
Merge pull request #2928 from Guil33/fix-swagger-doc
Browse files Browse the repository at this point in the history
Fix a typo in the documentation for POST /api/v2/abilities
  • Loading branch information
elegantmoose authored Apr 4, 2024
2 parents f090f63 + 60441e8 commit 2284471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/v2/handlers/ability_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def get_ability_by_id(self, request: web.Request):
return web.json_response(ability)

@aiohttp_apispec.docs(tags=['abilities'], summary='Creates a new ability.',
description='Creates a new adversary based on the `AbilitySchema`. '
description='Creates a new ability based on the `AbilitySchema`. '
'"name", "tactic", "technique_name", "technique_id" and "executors" are all required fields.')
@aiohttp_apispec.request_schema(AbilitySchema)
@aiohttp_apispec.response_schema(AbilitySchema,
Expand Down

0 comments on commit 2284471

Please sign in to comment.