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