Skip to content

Commit

Permalink
refactor(oas): add decorators to PokeapiCommonViewset class
Browse files Browse the repository at this point in the history
  • Loading branch information
Indyandie committed May 11, 2024
1 parent 43e9fb5 commit 434dadf
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 262 deletions.
16 changes: 8 additions & 8 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ paths:
description: The initial index from which to return the results.
schema:
type: integer
- in: query
name: q
schema:
type: string
description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\
Case-insensitive query applied on the `name` property. "
tags:
- pokemon
security:
Expand Down Expand Up @@ -1501,12 +1507,6 @@ paths:
description: The initial index from which to return the results.
schema:
type: integer
- in: query
name: q
schema:
type: string
description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\
Case-insensitive query applied on the `name` property. "
tags:
- location
security:
Expand All @@ -1530,8 +1530,8 @@ paths:
- in: path
name: id
schema:
type: string
description: This parameter can be a string or an integer.
type: integer
description: A unique integer value identifying this location area.
required: true
tags:
- location
Expand Down

0 comments on commit 434dadf

Please sign in to comment.