fix(drf-spectacular): use correct type (Tag Object), add descriptions, URLs

This commit is contained in:
indyandie 2024-05-24 01:24:15 -05:00
parent 8999159e2c
commit 435545a0db
No known key found for this signature in database
GPG key ID: FDB83C1AED3933E1

View file

@ -165,16 +165,84 @@ Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI co
"OAS_VERSION": "3.1.0",
"COMPONENT_SPLIT_REQUEST": True,
"TAGS": [
"pokemon",
"evolution",
"berries",
"items",
"machines",
"location",
"contest",
"moves",
"encounters",
"games",
"utility",
{
"name": "pokemon",
"description": "Pokémon are the creatures that inhabit the world of the Pokémon games",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon"
}
},
{
"name": "evolution",
"description": "Evolution (Japanese: 進化 evolution) is a process in which a Pokémon changes into a different species of Pokémon.",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/Evolution"
}
},
{
"name": "berries",
"description": "Berries (Japanese: きのみ Tree Fruit) are small, juicy, fleshy fruit. As in the real world, a large variety exists in the Pokémon world, with a large range of flavors and effects",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/Berry"
}
},
{
"name": "items",
"description": "An item (Japanese: 道具 tool) is an object in the Pokémon games which the player can pick up, keep in their Bag, and use in some manner",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/Item"
}
},
{
"name": "machines",
"description": "Machines are the representation of items that teach moves to Pokémon.",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/TM"
}
},
{
"name": "location",
"description": "Locations that can be visited within the games",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/List_of_locations_by_index_number"
}
},
{
"name": "contest",
"description": "Pokémon Contests (Japanese: ポケモンコンテスト Pokémon Contest) are a type of competition often contrasted with Pokémon battles and held in Contest Halls",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_Contest"
}
},
{
"name": "moves",
"description": "A move (Japanese: わざ move), also known as an attack (Japanese: こうげきわざ attack technique) or technique (Japanese: とくしゅわざ special technique), is the skill Pokémon primarily use in battle.",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/List_of_locations_by_name"
}
},
{
"name": "encounters"
},
{
"name": "games",
"description": "The Pokémon games are all video games in the Pokémon franchise.",
"externalDocs": {
"description": "Fine more info here",
"url": "https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_games"
}
},
{
"name": "utility"
},
],
}