remove erasure and por parameters from openapi spec (#915)
This commit is contained in:
parent
4b9336ec07
commit
8b374d5acb
21
openapi.yaml
21
openapi.yaml
|
@ -83,33 +83,12 @@ components:
|
||||||
id:
|
id:
|
||||||
$ref: "#/components/schemas/PeerId"
|
$ref: "#/components/schemas/PeerId"
|
||||||
|
|
||||||
ErasureParameters:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
totalChunks:
|
|
||||||
type: integer
|
|
||||||
|
|
||||||
PoRParameters:
|
|
||||||
description: Parameters for Proof of Retrievability
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
u:
|
|
||||||
type: string
|
|
||||||
publicKey:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
|
|
||||||
Content:
|
Content:
|
||||||
type: object
|
type: object
|
||||||
description: Parameters specifying the content
|
description: Parameters specifying the content
|
||||||
properties:
|
properties:
|
||||||
cid:
|
cid:
|
||||||
$ref: "#/components/schemas/Cid"
|
$ref: "#/components/schemas/Cid"
|
||||||
erasure:
|
|
||||||
$ref: "#/components/schemas/ErasureParameters"
|
|
||||||
por:
|
|
||||||
$ref: "#/components/schemas/PoRParameters"
|
|
||||||
|
|
||||||
DebugInfo:
|
DebugInfo:
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Reference in New Issue