text area
This commit is contained in:
+9
-75
@@ -415,66 +415,6 @@ paths:
|
||||
$ref: "#/components/schemas/AcquisitionResponse"
|
||||
components:
|
||||
schemas:
|
||||
IskRuleClauseResponse:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/RuleClauseResponse"
|
||||
- type: object
|
||||
properties:
|
||||
fromLedgerRef:
|
||||
type: string
|
||||
pattern: "[a-z]+(-[a-z]+)*"
|
||||
toLedgerRef:
|
||||
type: string
|
||||
pattern: "[a-z]+(-[a-z]+)*"
|
||||
required:
|
||||
- fromLedgerRef
|
||||
- toLedgerRef
|
||||
ItemExchangeRuleClauseResponse:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/RuleClauseResponse"
|
||||
- type: object
|
||||
properties:
|
||||
rate:
|
||||
type: string
|
||||
enum:
|
||||
- NONE
|
||||
- VALUE
|
||||
- JITA_BUY
|
||||
- JITA_SELL
|
||||
- EVE_ESTIMATE
|
||||
fromLedgerRef:
|
||||
type: string
|
||||
pattern: "[a-z]+(-[a-z]+)*"
|
||||
toLedgerRef:
|
||||
type: string
|
||||
pattern: "[a-z]+(-[a-z]+)*"
|
||||
required:
|
||||
- fromLedgerRef
|
||||
- rate
|
||||
- toLedgerRef
|
||||
RuleClauseResponse:
|
||||
discriminator:
|
||||
propertyName: type
|
||||
mapping:
|
||||
ISK: "#/components/schemas/IskRuleClauseResponse"
|
||||
ITEM_EXCHANGE: "#/components/schemas/ItemExchangeRuleClauseResponse"
|
||||
oneOf:
|
||||
- $ref: "#/components/schemas/IskRuleClauseResponse"
|
||||
- $ref: "#/components/schemas/ItemExchangeRuleClauseResponse"
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
RuleResponse:
|
||||
type: object
|
||||
properties:
|
||||
clauses:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/RuleClauseResponse"
|
||||
required:
|
||||
- clauses
|
||||
UpdateRuleBookRequest:
|
||||
type: object
|
||||
properties:
|
||||
@@ -487,14 +427,12 @@ components:
|
||||
items:
|
||||
type: string
|
||||
pattern: "[a-z]+(-[a-z]+)*"
|
||||
rules:
|
||||
type: object
|
||||
additionalProperties:
|
||||
$ref: "#/components/schemas/RuleResponse"
|
||||
script:
|
||||
type: string
|
||||
required:
|
||||
- ledgerRefs
|
||||
- name
|
||||
- rules
|
||||
- script
|
||||
- usedForAcquisitions
|
||||
RuleBookResponse:
|
||||
type: object
|
||||
@@ -511,15 +449,13 @@ components:
|
||||
items:
|
||||
type: string
|
||||
pattern: "[a-z]+(-[a-z]+)*"
|
||||
rules:
|
||||
type: object
|
||||
additionalProperties:
|
||||
$ref: "#/components/schemas/RuleResponse"
|
||||
script:
|
||||
type: string
|
||||
required:
|
||||
- ledgerRefs
|
||||
- name
|
||||
- ruleBookId
|
||||
- rules
|
||||
- script
|
||||
- usedForAcquisitions
|
||||
UpdateMainLedgerRequest:
|
||||
type: object
|
||||
@@ -623,14 +559,12 @@ components:
|
||||
items:
|
||||
type: string
|
||||
pattern: "[a-z]+(-[a-z]+)*"
|
||||
rules:
|
||||
type: object
|
||||
additionalProperties:
|
||||
$ref: "#/components/schemas/RuleResponse"
|
||||
script:
|
||||
type: string
|
||||
required:
|
||||
- ledgerRefs
|
||||
- name
|
||||
- rules
|
||||
- script
|
||||
- usedForAcquisitions
|
||||
CreateMainLedgerRequest:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user