Skip to content

Commit

Permalink
Added missed block_status field to Block
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyanaAndrukhiv committed Jan 14, 2025
1 parent 0bf94c7 commit 4c3fcf5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openapi/access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ components:
type: object
required:
- header
- block_status
properties:
header:
$ref: '#/components/schemas/BlockHeader'
Expand All @@ -954,6 +955,8 @@ components:
format: uri
_links:
$ref: '#/components/schemas/Links'
block_status:
type: string
BlockHeader:
type: object
required:
Expand Down
4 changes: 4 additions & 0 deletions openapi/go-client-generated/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,7 @@ components:
- Expired
Block:
required:
- block_status
- header
type: object
properties:
Expand All @@ -1590,7 +1591,10 @@ components:
$ref: '#/components/schemas/Block__expandable'
_links:
$ref: '#/components/schemas/Links'
block_status:
type: string
example:
block_status: block_status
payload:
collection_guarantees:
- collection_id: null
Expand Down
1 change: 1 addition & 0 deletions openapi/go-client-generated/docs/Block.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**ExecutionResult** | [***ExecutionResult**](ExecutionResult.md) | | [optional] [default to null]
**Expandable** | [***BlockExpandable**](Block__expandable.md) | | [optional] [default to null]
**Links** | [***Links**](Links.md) | | [optional] [default to null]
**BlockStatus** | **string** | | [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions openapi/go-client-generated/model_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ type Block struct {
ExecutionResult *ExecutionResult `json:"execution_result,omitempty"`
Expandable *BlockExpandable `json:"_expandable,omitempty"`
Links *Links `json:"_links,omitempty"`
BlockStatus string `json:"block_status"`
}

0 comments on commit 4c3fcf5

Please sign in to comment.