Skip to content

Commit c7b9991

Browse files
committed
update openapi specs, fix Location.region and Region.main_generation is nullable
1 parent c2c17cf commit c7b9991

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

openapi.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4700,6 +4700,11 @@ components:
47004700
items:
47014701
$ref: '#/components/schemas/ItemGameIndex'
47024702
readOnly: true
4703+
prices:
4704+
type: array
4705+
items:
4706+
$ref: '#/components/schemas/ItemPrice'
4707+
readOnly: true
47034708
names:
47044709
type: array
47054710
items:
@@ -4919,6 +4924,24 @@ components:
49194924
required:
49204925
- language
49214926
- name
4927+
ItemPrice:
4928+
type: object
4929+
properties:
4930+
is_purchasable:
4931+
type: boolean
4932+
purchase_price:
4933+
type:
4934+
- integer
4935+
- 'null'
4936+
sell_price:
4937+
type:
4938+
- integer
4939+
- 'null'
4940+
version_group:
4941+
$ref: '#/components/schemas/VersionGroupSummary'
4942+
required:
4943+
- is_purchasable
4944+
- version_group
49224945
ItemPocketDetail:
49234946
type: object
49244947
properties:
@@ -7526,7 +7549,6 @@ components:
75267549
- name
75277550
- names
75287551
- pokemon_entries
7529-
- region
75307552
- version_groups
75317553
PokedexName:
75327554
type: object
@@ -8634,7 +8656,6 @@ components:
86348656
required:
86358657
- id
86368658
- locations
8637-
- main_generation
86388659
- name
86398660
- names
86408661
- pokedexes

0 commit comments

Comments
 (0)