Skip to content

Commit

Permalink
Updated openapi spec for config block schema
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Zhang <[email protected]>
  • Loading branch information
jimthematrix committed Jan 20, 2022
1 parent 1452fdd commit 9e4af37
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions openapi/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,22 @@ components:
- type: string
- type: object
- type: array
config:
type: object
properties:
type:
type: string
signature:
type: string
timestamp:
type: integer
nonce:
type: string
creator:
$ref: "#/components/schemas/creator"
config:
type: object
description: the object defined by the Fabric protobuf type `common.Config`
get_block_output:
type: object
properties:
Expand All @@ -724,6 +740,8 @@ components:
type: array
items:
$ref: "#/components/schemas/transaction"
config:
$ref: "#/components/schemas/config"
raw:
type: object
description: the raw data structure defined by Fabric protobuf type `common.Block`
Expand Down

0 comments on commit 9e4af37

Please sign in to comment.