Skip to content

Commit

Permalink
Update OpenAPI docs to v1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot committed Mar 8, 2023
1 parent 4c3190b commit 772fe06
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 109 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.7.1](https://github.com/circlefin/openapi-internal/compare/v1.7.0...v1.7.1) (2023-03-07)


### Fixes

* remove discriminators

## [1.7.0](https://github.com/circlefin/openapi-internal/compare/v1.6.0...v1.7.0) (2023-03-02)


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.7.1
12 changes: 3 additions & 9 deletions openapi/json/account.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.7.0",
"version": "1.7.1",
"title": "Core Functionality",
"description": "All of Circle's APIs share a common set of core functionality that lets you manage your Circle Account in a programmatic way.\n\nWith a Circle Account your business can deposit traditional money from 80+ countries and seamlessly convert them into \"digital currency dollars\": USDC. You can then use USDC for everyday payments and treasury flows.\n"
},
Expand Down Expand Up @@ -3093,10 +3093,7 @@
{
"$ref": "#/components/schemas/TransferSourceBlockchainLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"Address": {
"type": "string",
Expand Down Expand Up @@ -3173,10 +3170,7 @@
{
"$ref": "#/components/schemas/TransferDestinationWalletLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"Fee": {
"type": "object",
Expand Down
12 changes: 3 additions & 9 deletions openapi/json/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.7.0",
"version": "1.7.1",
"title": "Accounts API",
"description": "The Accounts API allows you to easily create and host digital wallets for your customers, and manage transfers of funds across accounts- whether they are within the Circle platform, or in / out of the platform via on-chain USDC, EUROC, BTC, and ETH connectivity."
},
Expand Down Expand Up @@ -1214,10 +1214,7 @@
{
"$ref": "#/components/schemas/TransferSourceBlockchainLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"TransferDestinationBlockchainLocation": {
"description": "A destination blockchain address.",
Expand Down Expand Up @@ -1283,10 +1280,7 @@
{
"$ref": "#/components/schemas/TransferDestinationWalletLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"Fee": {
"type": "object",
Expand Down
32 changes: 5 additions & 27 deletions openapi/json/circle-apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.7.0",
"version": "1.7.1",
"title": "All Circle APIs",
"description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification."
},
Expand Down Expand Up @@ -4153,16 +4153,7 @@
{
"$ref": "#/components/schemas/FiatRefund"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"Fiat Payment": "#/components/schemas/FiatPayment",
"Crypto Payment": "#/components/schemas/CryptoPayment",
"Fiat Cancel": "#/components/schemas/FiatCancel",
"Fiat Refund": "#/components/schemas/FiatRefund"
}
}
]
}
}
}
Expand Down Expand Up @@ -4499,14 +4490,7 @@
{
"$ref": "#/components/schemas/CryptoPayment"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"Fiat Payment": "#/components/schemas/FiatPaymentPolymorphic",
"Crypto Payment": "#/components/schemas/CryptoPayment"
}
}
]
}
}
},
Expand Down Expand Up @@ -13652,10 +13636,7 @@
{
"$ref": "#/components/schemas/TransferSourceBlockchainLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"TransferDestinationBlockchainLocation": {
"description": "A destination blockchain address.",
Expand Down Expand Up @@ -13721,10 +13702,7 @@
{
"$ref": "#/components/schemas/TransferDestinationWalletLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"Fee": {
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion openapi/json/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.7.0",
"version": "1.7.1",
"title": "API Overview",
"description": "Common endpoints shared across all Circle APIs."
},
Expand Down
22 changes: 3 additions & 19 deletions openapi/json/payments.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.7.0",
"version": "1.7.1",
"title": "Payments API",
"description": "The Circle Payments API allows you to take payments from your end users via traditional methods such as debit & credit cards, bank accounts (wires and ACH), etc., and receive settlement in USDC.\n\nThe Circle Payments API has been designed with any business or internet commerce in mind, not just crypto applications, and it's based on Circle's extensive experience processing millions of card payments since 2014.\n"
},
Expand Down Expand Up @@ -338,16 +338,7 @@
{
"$ref": "#/components/schemas/FiatRefund"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"Fiat Payment": "#/components/schemas/FiatPayment",
"Crypto Payment": "#/components/schemas/CryptoPayment",
"Fiat Cancel": "#/components/schemas/FiatCancel",
"Fiat Refund": "#/components/schemas/FiatRefund"
}
}
]
}
}
}
Expand Down Expand Up @@ -584,14 +575,7 @@
{
"$ref": "#/components/schemas/CryptoPayment"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"Fiat Payment": "#/components/schemas/FiatPaymentPolymorphic",
"Crypto Payment": "#/components/schemas/CryptoPayment"
}
}
]
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion openapi/json/payouts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.7.0",
"version": "1.7.1",
"title": "Payouts API",
"description": "The Circle Payouts API allows you to programmatically make fast, global payouts to your customers, vendors, and suppliers. Use traditional methods like bank wires and ACH, or make payouts on supported blockchains."
},
Expand Down
6 changes: 1 addition & 5 deletions openapi/yaml/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 1.7.0
version: 1.7.1
title: Core Functionality
description: 'All of Circle''s APIs share a common set of core functionality that
lets you manage your Circle Account in a programmatic way.
Expand Down Expand Up @@ -2171,8 +2171,6 @@ components:
oneOf:
- $ref: '#/components/schemas/TransferSourceWalletLocation'
- $ref: '#/components/schemas/TransferSourceBlockchainLocation'
discriminator:
propertyName: type
Address:
type: string
description: An alphanumeric string representing a blockchain address. Will
Expand Down Expand Up @@ -2232,8 +2230,6 @@ components:
oneOf:
- $ref: '#/components/schemas/TransferDestinationBlockchainLocation'
- $ref: '#/components/schemas/TransferDestinationWalletLocation'
discriminator:
propertyName: type
Fee:
type: object
required:
Expand Down
6 changes: 1 addition & 5 deletions openapi/yaml/accounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 1.7.0
version: 1.7.1
title: Accounts API
description: The Accounts API allows you to easily create and host digital wallets
for your customers, and manage transfers of funds across accounts- whether they
Expand Down Expand Up @@ -886,8 +886,6 @@ components:
oneOf:
- $ref: '#/components/schemas/TransferSourceWalletLocation'
- $ref: '#/components/schemas/TransferSourceBlockchainLocation'
discriminator:
propertyName: type
TransferDestinationBlockchainLocation:
description: A destination blockchain address.
type: object
Expand Down Expand Up @@ -934,8 +932,6 @@ components:
oneOf:
- $ref: '#/components/schemas/TransferDestinationBlockchainLocation'
- $ref: '#/components/schemas/TransferDestinationWalletLocation'
discriminator:
propertyName: type
Fee:
type: object
required:
Expand Down
18 changes: 1 addition & 17 deletions openapi/yaml/circle-apis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 1.7.0
version: 1.7.1
title: All Circle APIs
description: Circle's General, Core Functionality, Payments, Payouts, Accounts,
and Crypto Payments APIs bundled into one OpenAPI Specification.
Expand Down Expand Up @@ -2644,13 +2644,6 @@ paths:
- $ref: '#/components/schemas/CryptoPayment'
- $ref: '#/components/schemas/FiatCancel'
- $ref: '#/components/schemas/FiatRefund'
discriminator:
propertyName: type
mapping:
Fiat Payment: '#/components/schemas/FiatPayment'
Crypto Payment: '#/components/schemas/CryptoPayment'
Fiat Cancel: '#/components/schemas/FiatCancel'
Fiat Refund: '#/components/schemas/FiatRefund'
examples:
Fiat Payment:
value:
Expand Down Expand Up @@ -2882,11 +2875,6 @@ paths:
oneOf:
- $ref: '#/components/schemas/FiatPaymentPolymorphic'
- $ref: '#/components/schemas/CryptoPayment'
discriminator:
propertyName: type
mapping:
Fiat Payment: '#/components/schemas/FiatPaymentPolymorphic'
Crypto Payment: '#/components/schemas/CryptoPayment'
examples:
Fiat Payment:
value:
Expand Down Expand Up @@ -9554,8 +9542,6 @@ components:
oneOf:
- $ref: '#/components/schemas/TransferSourceWalletLocation'
- $ref: '#/components/schemas/TransferSourceBlockchainLocation'
discriminator:
propertyName: type
TransferDestinationBlockchainLocation:
description: A destination blockchain address.
type: object
Expand Down Expand Up @@ -9602,8 +9588,6 @@ components:
oneOf:
- $ref: '#/components/schemas/TransferDestinationBlockchainLocation'
- $ref: '#/components/schemas/TransferDestinationWalletLocation'
discriminator:
propertyName: type
Fee:
type: object
required:
Expand Down
2 changes: 1 addition & 1 deletion openapi/yaml/general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 1.7.0
version: 1.7.1
title: API Overview
description: Common endpoints shared across all Circle APIs.
tags:
Expand Down
14 changes: 1 addition & 13 deletions openapi/yaml/payments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 1.7.0
version: 1.7.1
title: Payments API
description: 'The Circle Payments API allows you to take payments from your end
users via traditional methods such as debit & credit cards, bank accounts (wires
Expand Down Expand Up @@ -229,13 +229,6 @@ paths:
- $ref: '#/components/schemas/CryptoPayment'
- $ref: '#/components/schemas/FiatCancel'
- $ref: '#/components/schemas/FiatRefund'
discriminator:
propertyName: type
mapping:
Fiat Payment: '#/components/schemas/FiatPayment'
Crypto Payment: '#/components/schemas/CryptoPayment'
Fiat Cancel: '#/components/schemas/FiatCancel'
Fiat Refund: '#/components/schemas/FiatRefund'
examples:
Fiat Payment:
value:
Expand Down Expand Up @@ -400,11 +393,6 @@ paths:
oneOf:
- $ref: '#/components/schemas/FiatPaymentPolymorphic'
- $ref: '#/components/schemas/CryptoPayment'
discriminator:
propertyName: type
mapping:
Fiat Payment: '#/components/schemas/FiatPaymentPolymorphic'
Crypto Payment: '#/components/schemas/CryptoPayment'
examples:
Fiat Payment:
value:
Expand Down
2 changes: 1 addition & 1 deletion openapi/yaml/payouts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
servers:
- url: https://api-sandbox.circle.com
info:
version: 1.7.0
version: 1.7.1
title: Payouts API
description: The Circle Payouts API allows you to programmatically make fast, global
payouts to your customers, vendors, and suppliers. Use traditional methods like
Expand Down

0 comments on commit 772fe06

Please sign in to comment.