diff --git a/openapi/access.yaml b/openapi/access.yaml index 90b80d8b4..f90fe1c3f 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -399,9 +399,7 @@ paths: schema: $ref: '#/components/schemas/BlockHeight' required: false - description: The block height to query for the account details at the "sealed" is used by default. - - $ref: '#/components/parameters/expandParam' - - $ref: '#/components/parameters/selectParam' + description: The block height to query for the account balance. "sealed" is used by default. responses: '200': description: OK diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index bb8d83d3f..57ece66e0 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -725,39 +725,13 @@ paths: $ref: '#/components/schemas/Address' - name: block_height in: query - description: The block height to query for the account details at the "sealed" - is used by default. + description: The block height to query for the account balance. "sealed" is + used by default. required: false style: form explode: true schema: $ref: '#/components/schemas/BlockHeight' - - name: expand - in: query - description: A comma-separated list indicating which properties of the content - to expand. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: select - in: query - description: A comma-separated list indicating which properties of the content - to return. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string responses: "200": description: OK diff --git a/openapi/go-client-generated/api_accounts.go b/openapi/go-client-generated/api_accounts.go index e0edab495..32436a409 100644 --- a/openapi/go-client-generated/api_accounts.go +++ b/openapi/go-client-generated/api_accounts.go @@ -166,16 +166,12 @@ Get an account data by provided address in latest \"sealed\" block or * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param address The address of the account. * @param optional nil or *AccountsApiAccountsAddressKeysGetOpts - Optional Parameters: - * @param "BlockHeight" (optional.Interface of BlockHeight) - The block height to query for the account details at the \"sealed\" is used by default. - * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. - * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. + * @param "BlockHeight" (optional.Interface of BlockHeight) - The block height to query for the account balance. \"sealed\" is used by default. @return AccountPublicKeys */ type AccountsApiAccountsAddressKeysGetOpts struct { BlockHeight optional.Interface - Expand optional.Interface - Select_ optional.Interface } func (a *AccountsApiService) AccountsAddressKeysGet(ctx context.Context, address string, localVarOptionals *AccountsApiAccountsAddressKeysGetOpts) (AccountPublicKeys, *http.Response, error) { @@ -198,12 +194,6 @@ func (a *AccountsApiService) AccountsAddressKeysGet(ctx context.Context, address if localVarOptionals != nil && localVarOptionals.BlockHeight.IsSet() { localVarQueryParams.Add("block_height", parameterToString(localVarOptionals.BlockHeight.Value(), "")) } - if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { - localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { - localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) - } // to determine the Content-Type header localVarHttpContentTypes := []string{} diff --git a/openapi/go-client-generated/docs/AccountsApi.md b/openapi/go-client-generated/docs/AccountsApi.md index 9f8a17df8..2e8481d74 100644 --- a/openapi/go-client-generated/docs/AccountsApi.md +++ b/openapi/go-client-generated/docs/AccountsApi.md @@ -65,9 +65,7 @@ Optional parameters are passed through a pointer to a AccountsApiAccountsAddress Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **blockHeight** | [**optional.Interface of BlockHeight**](.md)| The block height to query for the account details at the \"sealed\" is used by default. | - **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | - **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | + **blockHeight** | [**optional.Interface of BlockHeight**](.md)| The block height to query for the account balance. \"sealed\" is used by default. | ### Return type