Apply changes to the openapi file (#1187)

This commit is contained in:
Arnaud 2025-04-04 14:58:23 +02:00 committed by GitHub
parent 4e2a321ad5
commit 6f62afef75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 3 deletions

View File

@ -50,6 +50,10 @@ components:
type: string
description: The amount of tokens paid per byte per second per slot to hosts the client is willing to pay
CollateralPerByte:
type: string
description: Number as decimal string that represents how much collateral per byte is asked from hosts that wants to fill a slots
Duration:
type: integer
format: int64
@ -320,8 +324,7 @@ components:
default: 1
minimum: 1
collateralPerByte:
type: string
description: Number as decimal string that represents how much collateral per byte is asked from hosts that wants to fill a slots
$ref: "#/components/schemas/CollateralPerByte"
expiry:
type: integer
format: int64
@ -351,6 +354,8 @@ components:
$ref: "#/components/schemas/ProofProbability"
pricePerBytePerSecond:
$ref: "#/components/schemas/PricePerBytePerSecond"
collateralPerByte:
$ref: "#/components/schemas/CollateralPerByte"
maxSlotLoss:
type: integer
format: int64
@ -392,7 +397,7 @@ components:
description: Description of the Request's state
enum:
- cancelled
- error
- errored
- failed
- finished
- pending
@ -586,6 +591,8 @@ paths:
text/plain:
schema:
type: string
"422":
description: The mimetype of the filename is invalid
"500":
description: Well it was bad-bad and the upload did not work out

7
redocly.yaml Normal file
View File

@ -0,0 +1,7 @@
extends:
- recommended
rules:
info-license: off
no-required-schema-properties-undefined: error
no-server-example.com: off