Add OpenAPI
This commit is contained in:
@@ -6,40 +6,46 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **number** | | [optional] [default to undefined]
|
||||
**cardType** | [**CardType**](CardType.md) | | [default to undefined]
|
||||
**description** | **string** | | [default to undefined]
|
||||
**pendulumDescription** | **string** | | [optional] [default to undefined]
|
||||
**defense** | **number** | | [optional] [default to undefined]
|
||||
**attack** | **number** | | [optional] [default to undefined]
|
||||
**health** | **number** | | [optional] [default to undefined]
|
||||
**level** | **number** | | [optional] [default to undefined]
|
||||
**linkValue** | **number** | | [optional] [default to undefined]
|
||||
**name** | **string** | | [default to undefined]
|
||||
**type** | **string** | | [default to undefined]
|
||||
**frameType** | **string** | | [default to undefined]
|
||||
**archetype** | **string** | | [optional] [default to undefined]
|
||||
**race** | **string** | | [optional] [default to undefined]
|
||||
**attribute** | **string** | | [optional] [default to undefined]
|
||||
**cardPrints** | [**Set<CardPrint>**](CardPrint.md) | | [default to undefined]
|
||||
**monsterEffect** | **string** | | [optional] [default to undefined]
|
||||
**attack** | **number** | | [optional] [default to undefined]
|
||||
**defense** | **number** | | [optional] [default to undefined]
|
||||
**level** | **number** | | [optional] [default to undefined]
|
||||
**isPendulum** | **boolean** | | [optional] [default to undefined]
|
||||
**pendulumScale** | **number** | | [optional] [default to undefined]
|
||||
**pendulumEffect** | **string** | | [optional] [default to undefined]
|
||||
**linkValue** | **number** | | [optional] [default to undefined]
|
||||
**subType** | [**SpellCardType**](SpellCardType.md) | | [default to undefined]
|
||||
**monsterType** | [**MonsterType**](MonsterType.md) | | [default to undefined]
|
||||
**attribute** | [**Attribute**](Attribute.md) | | [default to undefined]
|
||||
**linkArrows** | [**Set<LinkArrow>**](LinkArrow.md) | | [default to undefined]
|
||||
|
||||
## Example
|
||||
|
||||
```typescript
|
||||
import { Card } from 'restClient';
|
||||
import { Card } from './api';
|
||||
|
||||
const instance: Card = {
|
||||
id,
|
||||
cardType,
|
||||
description,
|
||||
pendulumDescription,
|
||||
defense,
|
||||
attack,
|
||||
health,
|
||||
level,
|
||||
linkValue,
|
||||
name,
|
||||
type,
|
||||
frameType,
|
||||
archetype,
|
||||
race,
|
||||
cardPrints,
|
||||
monsterEffect,
|
||||
attack,
|
||||
defense,
|
||||
level,
|
||||
isPendulum,
|
||||
pendulumScale,
|
||||
pendulumEffect,
|
||||
linkValue,
|
||||
subType,
|
||||
monsterType,
|
||||
attribute,
|
||||
linkArrows,
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user