Skip to content

Commit

Permalink
fix: openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
notanatol committed Feb 23, 2024
1 parent 5eac12a commit 71bd8ba
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions openapi/Swarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,26 @@ paths:
$ref: "SwarmCommon.yaml#/components/responses/400"
default:
description: Default response
head:
summary: Requests the headers containing the content type and length for the reference
tags:
- Bytes
parameters:
- in: path
name: address
schema:
$ref: "SwarmCommon.yaml#/components/schemas/SwarmAddress"
required: true
description: Swarm address of chunk
responses:
"200":
description: Chunk exists
"400":
$ref: "SwarmCommon.yaml#/components/responses/400"
"404":
$ref: "SwarmCommon.yaml#/components/responses/404"
default:
description: Default response

"/chunks":
post:
Expand Down Expand Up @@ -332,6 +352,26 @@ paths:
$ref: "SwarmCommon.yaml#/components/responses/500"
default:
description: Default response
head:
summary: Get the headers containing the content type and length for the reference
tags:
- BZZ
parameters:
- in: path
name: address
schema:
$ref: "SwarmCommon.yaml#/components/schemas/SwarmAddress"
required: true
description: Swarm address of chunk
responses:
"200":
description: Chunk exists
"400":
$ref: "SwarmCommon.yaml#/components/responses/400"
"404":
$ref: "SwarmCommon.yaml#/components/responses/404"
default:
description: Default response

"/bzz/{reference}/{path}":
get:
Expand Down

0 comments on commit 71bd8ba

Please sign in to comment.