Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API specification fixes #170

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 27 additions & 28 deletions api-spec-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20905,7 +20905,9 @@ components:
type: object
properties:
message:
type: string
oneOf:
- type: string
- type: array
code:
type: number
RewardsInfo:
Expand Down Expand Up @@ -23302,7 +23304,6 @@ components:
- FROZEN
timestamp:
type: number
format: date-time
AmlRegistrationResult:
type: object
properties:
Expand Down Expand Up @@ -25072,7 +25073,6 @@ components:
- TIMEOUT
timestamp:
type: number
format: date-time
instructionId:
type: string
required:
Expand Down Expand Up @@ -26983,7 +26983,6 @@ components:
example: A token that can be minted and burned
description: A description of the contract
events:
type: string
example: >-
Upgraded(address): {"details": "Emitted when the implementation is
upgraded."}
Expand All @@ -27001,7 +27000,9 @@ components:
details: Initializes the contract
description: The description of the contract functions
version:
type: string
oneOf:
- type: object
- type: string
example: '1'
description: The version of the contract
required:
Expand Down Expand Up @@ -27212,24 +27213,26 @@ components:
A full description of the contract template. May contain
to break the lines
abi:
type: array
items:
example:
- inputs:
- internalType: address
name: implementation
type: address
- internalType: bytes
name: _data
type: bytes
stateMutability: payable
type: constructor
description: >-
The abi of the contract template. Necessary for displaying and for
after deployment encoding
type: array
items:
$ref: '#/components/schemas/AbiFunction'
oneOf:
- type: object
- type: array
items:
example:
- inputs:
- internalType: address
name: implementation
type: address
- internalType: bytes
name: _data
type: bytes
stateMutability: payable
type: constructor
description: >-
The abi of the contract template. Necessary for displaying and for
after deployment encoding
type: array
items:
$ref: '#/components/schemas/AbiFunction'
attributes:
example:
useCases:
Expand Down Expand Up @@ -27367,7 +27370,6 @@ components:
value:
example: 'true'
description: The value of the parameter. can also be ParameterWithValue
type: string
functionValue:
description: >-
The function value of this param (if has one). If this is set, the
Expand Down Expand Up @@ -27801,9 +27803,7 @@ components:
description: The constructor parameters and values of the contract template
type: array
items:
type: array
items:
$ref: '#/components/schemas/ParameterWithValue'
$ref: '#/components/schemas/ParameterWithValue'
required:
- contractId
StellarRippleCreateParamsDto:
Expand Down Expand Up @@ -30656,7 +30656,6 @@ components:
- FROZEN
timestamp:
type: number
format: date-time
AmlRegistrationResultFullPayload:
type: object
properties:
Expand Down