Skip to content

Commit

Permalink
Version bump + GW API SDK regenerated
Browse files Browse the repository at this point in the history
  • Loading branch information
krzlabrdx committed Oct 25, 2023
1 parent 61f2195 commit afb18f6
Show file tree
Hide file tree
Showing 294 changed files with 366 additions and 368 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.1.1 - Babylon
## 1.2.0 - Babylon
Release Date: _unreleased_

- Added more strongly-typed OAS definition for `programmatic_json` and types derived from Core API.
Expand Down
11 changes: 2 additions & 9 deletions src/RadixDlt.NetworkGateway.GatewayApi/gateway-api-schema.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: v1.1.0
version: v1.2.0
title: Radix Gateway API - Babylon
license:
name: The Radix License, Version 1.0
Expand Down Expand Up @@ -1284,13 +1284,6 @@ components:
balance_changes:
$ref: "#/components/schemas/TransactionBalanceChanges"

LedgerTransactionStatus:
type: string
description: The status of the ledger transaction
enum:
- CommittedSuccess
- CommittedFailure

TransactionStatus:
type: string
description: |
Expand Down Expand Up @@ -1342,7 +1335,7 @@ components:
type: object
properties:
status:
$ref: "#/components/schemas/LedgerTransactionStatus"
$ref: "#/components/schemas/TransactionStatus"
fee_summary:
type: object
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
*
* This API is exposed by the Babylon Radix Gateway to enable clients to efficiently query current and historic state on the RadixDLT ledger, and intelligently handle transaction submission. It is designed for use by wallets and explorers, and for light queries from front-end dApps. For exchange/asset integrations, back-end dApp integrations, or simple use cases, you should consider using the the Core API on a Node. A Gateway is only needed for reading historic snapshots of ledger states or a more robust set-up. The Gateway API is implemented by the [Network Gateway](https://github.com/radixdlt/babylon-gateway), which is configured to read from [full node(s)](https://github.com/radixdlt/babylon-node) to extract and index data from the network. This document is an API reference documentation, visit [User Guide](https://docs-babylon.radixdlt.com/) to learn more about how to run a Gateway of your own. ## Migration guide Please see [the latest release notes](https://github.com/radixdlt/babylon-gateway/releases). ## Integration and forward compatibility guarantees All responses may have additional fields added at any release, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. When the Radix protocol is updated, new functionality may be added, and so discriminated unions returned by the API may need to be updated to have new variants added, corresponding to the updated data. Clients may need to update in advance to be able to handle these new variants when a protocol update comes out. On the very rare occasions we need to make breaking changes to the API, these will be warned in advance with deprecation notices on previous versions. These deprecation notices will include a safe migration path. Deprecation notes or breaking changes will be flagged clearly in release notes for new versions of the Gateway. The Gateway DB schema is not subject to any compatibility guarantees, and may be changed at any release. DB changes will be flagged in the release notes so clients doing custom DB integrations can prepare.
*
* The version of the OpenAPI document: v1.1.0
* The version of the OpenAPI document: v1.2.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
*
* This API is exposed by the Babylon Radix Gateway to enable clients to efficiently query current and historic state on the RadixDLT ledger, and intelligently handle transaction submission. It is designed for use by wallets and explorers, and for light queries from front-end dApps. For exchange/asset integrations, back-end dApp integrations, or simple use cases, you should consider using the the Core API on a Node. A Gateway is only needed for reading historic snapshots of ledger states or a more robust set-up. The Gateway API is implemented by the [Network Gateway](https://github.com/radixdlt/babylon-gateway), which is configured to read from [full node(s)](https://github.com/radixdlt/babylon-node) to extract and index data from the network. This document is an API reference documentation, visit [User Guide](https://docs-babylon.radixdlt.com/) to learn more about how to run a Gateway of your own. ## Migration guide Please see [the latest release notes](https://github.com/radixdlt/babylon-gateway/releases). ## Integration and forward compatibility guarantees All responses may have additional fields added at any release, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. When the Radix protocol is updated, new functionality may be added, and so discriminated unions returned by the API may need to be updated to have new variants added, corresponding to the updated data. Clients may need to update in advance to be able to handle these new variants when a protocol update comes out. On the very rare occasions we need to make breaking changes to the API, these will be warned in advance with deprecation notices on previous versions. These deprecation notices will include a safe migration path. Deprecation notes or breaking changes will be flagged clearly in release notes for new versions of the Gateway. The Gateway DB schema is not subject to any compatibility guarantees, and may be changed at any release. DB changes will be flagged in the release notes so clients doing custom DB integrations can prepare.
*
* The version of the OpenAPI document: v1.1.0
* The version of the OpenAPI document: v1.2.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
*
* This API is exposed by the Babylon Radix Gateway to enable clients to efficiently query current and historic state on the RadixDLT ledger, and intelligently handle transaction submission. It is designed for use by wallets and explorers, and for light queries from front-end dApps. For exchange/asset integrations, back-end dApp integrations, or simple use cases, you should consider using the the Core API on a Node. A Gateway is only needed for reading historic snapshots of ledger states or a more robust set-up. The Gateway API is implemented by the [Network Gateway](https://github.com/radixdlt/babylon-gateway), which is configured to read from [full node(s)](https://github.com/radixdlt/babylon-node) to extract and index data from the network. This document is an API reference documentation, visit [User Guide](https://docs-babylon.radixdlt.com/) to learn more about how to run a Gateway of your own. ## Migration guide Please see [the latest release notes](https://github.com/radixdlt/babylon-gateway/releases). ## Integration and forward compatibility guarantees All responses may have additional fields added at any release, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. When the Radix protocol is updated, new functionality may be added, and so discriminated unions returned by the API may need to be updated to have new variants added, corresponding to the updated data. Clients may need to update in advance to be able to handle these new variants when a protocol update comes out. On the very rare occasions we need to make breaking changes to the API, these will be warned in advance with deprecation notices on previous versions. These deprecation notices will include a safe migration path. Deprecation notes or breaking changes will be flagged clearly in release notes for new versions of the Gateway. The Gateway DB schema is not subject to any compatibility guarantees, and may be changed at any release. DB changes will be flagged in the release notes so clients doing custom DB integrations can prepare.
*
* The version of the OpenAPI document: v1.1.0
* The version of the OpenAPI document: v1.2.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
*
* This API is exposed by the Babylon Radix Gateway to enable clients to efficiently query current and historic state on the RadixDLT ledger, and intelligently handle transaction submission. It is designed for use by wallets and explorers, and for light queries from front-end dApps. For exchange/asset integrations, back-end dApp integrations, or simple use cases, you should consider using the the Core API on a Node. A Gateway is only needed for reading historic snapshots of ledger states or a more robust set-up. The Gateway API is implemented by the [Network Gateway](https://github.com/radixdlt/babylon-gateway), which is configured to read from [full node(s)](https://github.com/radixdlt/babylon-node) to extract and index data from the network. This document is an API reference documentation, visit [User Guide](https://docs-babylon.radixdlt.com/) to learn more about how to run a Gateway of your own. ## Migration guide Please see [the latest release notes](https://github.com/radixdlt/babylon-gateway/releases). ## Integration and forward compatibility guarantees All responses may have additional fields added at any release, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. When the Radix protocol is updated, new functionality may be added, and so discriminated unions returned by the API may need to be updated to have new variants added, corresponding to the updated data. Clients may need to update in advance to be able to handle these new variants when a protocol update comes out. On the very rare occasions we need to make breaking changes to the API, these will be warned in advance with deprecation notices on previous versions. These deprecation notices will include a safe migration path. Deprecation notes or breaking changes will be flagged clearly in release notes for new versions of the Gateway. The Gateway DB schema is not subject to any compatibility guarantees, and may be changed at any release. DB changes will be flagged in the release notes so clients doing custom DB integrations can prepare.
*
* The version of the OpenAPI document: v1.1.0
* The version of the OpenAPI document: v1.2.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
*
* This API is exposed by the Babylon Radix Gateway to enable clients to efficiently query current and historic state on the RadixDLT ledger, and intelligently handle transaction submission. It is designed for use by wallets and explorers, and for light queries from front-end dApps. For exchange/asset integrations, back-end dApp integrations, or simple use cases, you should consider using the the Core API on a Node. A Gateway is only needed for reading historic snapshots of ledger states or a more robust set-up. The Gateway API is implemented by the [Network Gateway](https://github.com/radixdlt/babylon-gateway), which is configured to read from [full node(s)](https://github.com/radixdlt/babylon-node) to extract and index data from the network. This document is an API reference documentation, visit [User Guide](https://docs-babylon.radixdlt.com/) to learn more about how to run a Gateway of your own. ## Migration guide Please see [the latest release notes](https://github.com/radixdlt/babylon-gateway/releases). ## Integration and forward compatibility guarantees All responses may have additional fields added at any release, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. When the Radix protocol is updated, new functionality may be added, and so discriminated unions returned by the API may need to be updated to have new variants added, corresponding to the updated data. Clients may need to update in advance to be able to handle these new variants when a protocol update comes out. On the very rare occasions we need to make breaking changes to the API, these will be warned in advance with deprecation notices on previous versions. These deprecation notices will include a safe migration path. Deprecation notes or breaking changes will be flagged clearly in release notes for new versions of the Gateway. The Gateway DB schema is not subject to any compatibility guarantees, and may be changed at any release. DB changes will be flagged in the release notes so clients doing custom DB integrations can prepare.
*
* The version of the OpenAPI document: v1.1.0
* The version of the OpenAPI document: v1.2.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

Expand Down Expand Up @@ -135,7 +135,7 @@ public interface ITransactionApiSync : IApiAccessor
/// Preview Transaction
/// </summary>
/// <remarks>
/// Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </remarks>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand All @@ -146,7 +146,7 @@ public interface ITransactionApiSync : IApiAccessor
/// Preview Transaction
/// </summary>
/// <remarks>
/// Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </remarks>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand Down Expand Up @@ -251,7 +251,7 @@ public interface ITransactionApiAsync : IApiAccessor
/// Preview Transaction
/// </summary>
/// <remarks>
/// Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </remarks>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand All @@ -263,7 +263,7 @@ public interface ITransactionApiAsync : IApiAccessor
/// Preview Transaction
/// </summary>
/// <remarks>
/// Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </remarks>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand Down Expand Up @@ -748,7 +748,7 @@ public RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiResponse<TransactionConst
}

/// <summary>
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </summary>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand All @@ -760,7 +760,7 @@ public TransactionPreviewResponse TransactionPreview(TransactionPreviewRequest t
}

/// <summary>
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </summary>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand Down Expand Up @@ -804,7 +804,7 @@ public RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiResponse<TransactionPrevi
}

/// <summary>
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </summary>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand All @@ -817,7 +817,7 @@ public RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiResponse<TransactionPrevi
}

/// <summary>
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards CoreApi&#39;s &#x60;/v0/transaction/preview&#x60; endpoint. See CoreApi&#39;s documentation for more details.
/// Preview Transaction Previews transaction against the network. This endpoint is effectively a proxy towards Core API &#x60;/v0/transaction/preview&#x60; endpoint. See Core API documentation for more details.
/// </summary>
/// <exception cref="RadixDlt.NetworkGateway.GatewayApiSdk.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="transactionPreviewRequest"></param>
Expand Down
Loading

0 comments on commit afb18f6

Please sign in to comment.