📜 Update OAS

pull/10/head
Alexis Drai 2 years ago committed by alexis.drai@etu.uca.fr
parent e1088d8af3
commit db7281ebe4

@ -341,7 +341,7 @@ components:
minItems: 1 minItems: 1
maxItems: 2 maxItems: 2
items: items:
$ref: '#/components/schemas/TypeName' $ref: '#/components/schemas/Type'
moveSet: moveSet:
type: array type: array
minItems: 1 minItems: 1
@ -373,7 +373,7 @@ components:
type: integer type: integer
minimum: 0 minimum: 0
type: type:
$ref: '#/components/schemas/TypeName' $ref: '#/components/schemas/Type'
schemaVersion: schemaVersion:
$ref: '#/components/schemas/SchemaVersion' $ref: '#/components/schemas/SchemaVersion'
@ -412,6 +412,25 @@ components:
schemaVersion: schemaVersion:
$ref: '#/components/schemas/SchemaVersion' $ref: '#/components/schemas/SchemaVersion'
Type:
type: object
required:
- name
- weakAgainst
- effectiveAgainst
properties:
name:
$ref: '#/components/schemas/TypeName'
weakAgainst:
type: array
items:
$ref: '#/components/schemas/TypeName'
effectiveAgainst:
type: array
items:
$ref: '#/components/schemas/TypeName'
PokemongMove: PokemongMove:
type: object type: object
required: required:

Loading…
Cancel
Save