From 6ed311fd79893239350e26549da5353b53d33ab8 Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Tue, 6 Aug 2024 12:35:37 +0300 Subject: [PATCH] Updated naming for openapi --- openapi/access.yaml | 8 ++++---- openapi/go-client-generated/api/swagger.yaml | 12 ++++++------ openapi/go-client-generated/docs/NodeVersionInfo.md | 4 ++-- .../go-client-generated/model_node_version_info.go | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/openapi/access.yaml b/openapi/access.yaml index 3d920fc11..61872e2e1 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1202,8 +1202,8 @@ components: - protocol_version - spork_root_block_height - node_root_block_height - - start_height - - end_height + - protocol_version_start_height + - protocol_version_end_height properties: semver: type: string @@ -1220,10 +1220,10 @@ components: node_root_block_height: type: string format: uint64 - start_height: + protocol_version_start_height: type: string format: uint64 - end_height: + protocol_version_end_height: type: string format: uint64 SubscribeEvents: diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index aa913fc0b..43d422544 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -2073,13 +2073,13 @@ components: NodeVersionInfo: required: - commit - - end_height - node_root_block_height - protocol_version + - protocol_version_end_height + - protocol_version_start_height - semver - spork_id - spork_root_block_height - - start_height type: object properties: semver: @@ -2097,19 +2097,19 @@ components: node_root_block_height: type: string format: uint64 - start_height: + protocol_version_start_height: type: string format: uint64 - end_height: + protocol_version_end_height: type: string format: uint64 example: protocol_version: protocol_version - end_height: end_height semver: semver commit: commit - start_height: start_height + protocol_version_start_height: protocol_version_start_height node_root_block_height: node_root_block_height + protocol_version_end_height: protocol_version_end_height spork_id: spork_id spork_root_block_height: spork_root_block_height SubscribeEvents: diff --git a/openapi/go-client-generated/docs/NodeVersionInfo.md b/openapi/go-client-generated/docs/NodeVersionInfo.md index 1e4487e3c..0cfe59df2 100644 --- a/openapi/go-client-generated/docs/NodeVersionInfo.md +++ b/openapi/go-client-generated/docs/NodeVersionInfo.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **ProtocolVersion** | **string** | | [default to null] **SporkRootBlockHeight** | **string** | | [default to null] **NodeRootBlockHeight** | **string** | | [default to null] -**StartHeight** | **string** | | [default to null] -**EndHeight** | **string** | | [default to null] +**ProtocolVersionStartHeight** | **string** | | [default to null] +**ProtocolVersionEndHeight** | **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) diff --git a/openapi/go-client-generated/model_node_version_info.go b/openapi/go-client-generated/model_node_version_info.go index 9b29d3161..b8edb0310 100644 --- a/openapi/go-client-generated/model_node_version_info.go +++ b/openapi/go-client-generated/model_node_version_info.go @@ -15,6 +15,6 @@ type NodeVersionInfo struct { ProtocolVersion string `json:"protocol_version"` SporkRootBlockHeight string `json:"spork_root_block_height"` NodeRootBlockHeight string `json:"node_root_block_height"` - StartHeight string `json:"start_height"` - EndHeight string `json:"end_height"` + ProtocolVersionStartHeight string `json:"protocol_version_start_height"` + ProtocolVersionEndHeight string `json:"protocol_version_end_height"` }