diff --git a/README.md b/README.md index dccdb71..8298062 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Adyen OpenAPI / Swagger specifications -Adyen provides [various APIs](https://docs.adyen.com/developers) to help you accept payments on your website or mobile application, implement subscription billing, make payouts, and much more. +Adyen provides [various APIs](https://docs.adyen.com) to help you accept payments on your website or mobile application, implement subscription billing, make payouts, and much more. -This repository contains Adyen API specifications, represented in the [OpenAPI standard](https://www.openapis.org/) (formerly known as Swagger Specification). +This repository contains Adyen API specifications, represented in the [OpenAPI Specification](https://www.openapis.org/) standard (formerly known as Swagger Specification). ## Folder structure @@ -10,11 +10,11 @@ Specifications in this repository are organized into two subfolders: ``` /specs - /2.0 – Spec files in the OpenAPI 2.0 format. - /3.0 – Spec files in the OpenAPI 3.0.0 format. + /json – Spec files in the json format. + /yaml – Spec files in the yaml format. ``` -We provide specifications in both `.json` and `.yaml` formats, with the API version number (e.g. `v30`) in the file name. +We support the OpenAPI version 3.0.0. ## Usage diff --git a/specs/AccountService-v3.json b/specs/json/AccountService-v3.json similarity index 100% rename from specs/AccountService-v3.json rename to specs/json/AccountService-v3.json diff --git a/specs/AccountService-v4.json b/specs/json/AccountService-v4.json similarity index 100% rename from specs/AccountService-v4.json rename to specs/json/AccountService-v4.json diff --git a/specs/AccountService-v5.json b/specs/json/AccountService-v5.json similarity index 100% rename from specs/AccountService-v5.json rename to specs/json/AccountService-v5.json diff --git a/specs/CheckoutService-v37.json b/specs/json/CheckoutService-v37.json similarity index 100% rename from specs/CheckoutService-v37.json rename to specs/json/CheckoutService-v37.json diff --git a/specs/CheckoutService-v40.json b/specs/json/CheckoutService-v40.json similarity index 100% rename from specs/CheckoutService-v40.json rename to specs/json/CheckoutService-v40.json diff --git a/specs/CheckoutService-v41.json b/specs/json/CheckoutService-v41.json similarity index 100% rename from specs/CheckoutService-v41.json rename to specs/json/CheckoutService-v41.json diff --git a/specs/CheckoutService-v46.json b/specs/json/CheckoutService-v46.json similarity index 100% rename from specs/CheckoutService-v46.json rename to specs/json/CheckoutService-v46.json diff --git a/specs/CheckoutUtilityService-v1.json b/specs/json/CheckoutUtilityService-v1.json similarity index 100% rename from specs/CheckoutUtilityService-v1.json rename to specs/json/CheckoutUtilityService-v1.json diff --git a/specs/FundService-v3.json b/specs/json/FundService-v3.json similarity index 100% rename from specs/FundService-v3.json rename to specs/json/FundService-v3.json diff --git a/specs/FundService-v5.json b/specs/json/FundService-v5.json similarity index 100% rename from specs/FundService-v5.json rename to specs/json/FundService-v5.json diff --git a/specs/MarketPayNotificationService-v3.json b/specs/json/MarketPayNotificationService-v3.json similarity index 100% rename from specs/MarketPayNotificationService-v3.json rename to specs/json/MarketPayNotificationService-v3.json diff --git a/specs/MarketPayNotificationService-v4.json b/specs/json/MarketPayNotificationService-v4.json similarity index 100% rename from specs/MarketPayNotificationService-v4.json rename to specs/json/MarketPayNotificationService-v4.json diff --git a/specs/MarketPayNotificationService-v5.json b/specs/json/MarketPayNotificationService-v5.json similarity index 100% rename from specs/MarketPayNotificationService-v5.json rename to specs/json/MarketPayNotificationService-v5.json diff --git a/specs/NotificationConfigurationService-v1.json b/specs/json/NotificationConfigurationService-v1.json similarity index 100% rename from specs/NotificationConfigurationService-v1.json rename to specs/json/NotificationConfigurationService-v1.json diff --git a/specs/PaymentService-v25.json b/specs/json/PaymentService-v25.json similarity index 100% rename from specs/PaymentService-v25.json rename to specs/json/PaymentService-v25.json diff --git a/specs/PaymentService-v30.json b/specs/json/PaymentService-v30.json similarity index 100% rename from specs/PaymentService-v30.json rename to specs/json/PaymentService-v30.json diff --git a/specs/PaymentService-v40.json b/specs/json/PaymentService-v40.json similarity index 100% rename from specs/PaymentService-v40.json rename to specs/json/PaymentService-v40.json diff --git a/specs/PaymentService-v46.json b/specs/json/PaymentService-v46.json similarity index 100% rename from specs/PaymentService-v46.json rename to specs/json/PaymentService-v46.json diff --git a/specs/PayoutService-v30.json b/specs/json/PayoutService-v30.json similarity index 100% rename from specs/PayoutService-v30.json rename to specs/json/PayoutService-v30.json diff --git a/specs/RecurringService-v18.json b/specs/json/RecurringService-v18.json similarity index 100% rename from specs/RecurringService-v18.json rename to specs/json/RecurringService-v18.json diff --git a/specs/RecurringService-v25.json b/specs/json/RecurringService-v25.json similarity index 100% rename from specs/RecurringService-v25.json rename to specs/json/RecurringService-v25.json diff --git a/specs/AccountService-v3.yaml b/specs/yaml/AccountService-v3.yaml similarity index 100% rename from specs/AccountService-v3.yaml rename to specs/yaml/AccountService-v3.yaml diff --git a/specs/AccountService-v4.yaml b/specs/yaml/AccountService-v4.yaml similarity index 100% rename from specs/AccountService-v4.yaml rename to specs/yaml/AccountService-v4.yaml diff --git a/specs/AccountService-v5.yaml b/specs/yaml/AccountService-v5.yaml similarity index 100% rename from specs/AccountService-v5.yaml rename to specs/yaml/AccountService-v5.yaml diff --git a/specs/CheckoutService-v37.yaml b/specs/yaml/CheckoutService-v37.yaml similarity index 100% rename from specs/CheckoutService-v37.yaml rename to specs/yaml/CheckoutService-v37.yaml diff --git a/specs/CheckoutService-v40.yaml b/specs/yaml/CheckoutService-v40.yaml similarity index 100% rename from specs/CheckoutService-v40.yaml rename to specs/yaml/CheckoutService-v40.yaml diff --git a/specs/CheckoutService-v41.yaml b/specs/yaml/CheckoutService-v41.yaml similarity index 100% rename from specs/CheckoutService-v41.yaml rename to specs/yaml/CheckoutService-v41.yaml diff --git a/specs/CheckoutService-v46.yaml b/specs/yaml/CheckoutService-v46.yaml similarity index 100% rename from specs/CheckoutService-v46.yaml rename to specs/yaml/CheckoutService-v46.yaml diff --git a/specs/CheckoutUtilityService-v1.yaml b/specs/yaml/CheckoutUtilityService-v1.yaml similarity index 100% rename from specs/CheckoutUtilityService-v1.yaml rename to specs/yaml/CheckoutUtilityService-v1.yaml diff --git a/specs/FundService-v3.yaml b/specs/yaml/FundService-v3.yaml similarity index 100% rename from specs/FundService-v3.yaml rename to specs/yaml/FundService-v3.yaml diff --git a/specs/FundService-v5.yaml b/specs/yaml/FundService-v5.yaml similarity index 100% rename from specs/FundService-v5.yaml rename to specs/yaml/FundService-v5.yaml diff --git a/specs/MarketPayNotificationService-v3.yaml b/specs/yaml/MarketPayNotificationService-v3.yaml similarity index 100% rename from specs/MarketPayNotificationService-v3.yaml rename to specs/yaml/MarketPayNotificationService-v3.yaml diff --git a/specs/MarketPayNotificationService-v4.yaml b/specs/yaml/MarketPayNotificationService-v4.yaml similarity index 100% rename from specs/MarketPayNotificationService-v4.yaml rename to specs/yaml/MarketPayNotificationService-v4.yaml diff --git a/specs/MarketPayNotificationService-v5.yaml b/specs/yaml/MarketPayNotificationService-v5.yaml similarity index 100% rename from specs/MarketPayNotificationService-v5.yaml rename to specs/yaml/MarketPayNotificationService-v5.yaml diff --git a/specs/NotificationConfigurationService-v1.yaml b/specs/yaml/NotificationConfigurationService-v1.yaml similarity index 100% rename from specs/NotificationConfigurationService-v1.yaml rename to specs/yaml/NotificationConfigurationService-v1.yaml diff --git a/specs/PaymentService-v25.yaml b/specs/yaml/PaymentService-v25.yaml similarity index 100% rename from specs/PaymentService-v25.yaml rename to specs/yaml/PaymentService-v25.yaml diff --git a/specs/PaymentService-v30.yaml b/specs/yaml/PaymentService-v30.yaml similarity index 100% rename from specs/PaymentService-v30.yaml rename to specs/yaml/PaymentService-v30.yaml diff --git a/specs/PaymentService-v40.yaml b/specs/yaml/PaymentService-v40.yaml similarity index 100% rename from specs/PaymentService-v40.yaml rename to specs/yaml/PaymentService-v40.yaml diff --git a/specs/PaymentService-v46.yaml b/specs/yaml/PaymentService-v46.yaml similarity index 100% rename from specs/PaymentService-v46.yaml rename to specs/yaml/PaymentService-v46.yaml diff --git a/specs/PayoutService-v30.yaml b/specs/yaml/PayoutService-v30.yaml similarity index 100% rename from specs/PayoutService-v30.yaml rename to specs/yaml/PayoutService-v30.yaml diff --git a/specs/RecurringService-v18.yaml b/specs/yaml/RecurringService-v18.yaml similarity index 100% rename from specs/RecurringService-v18.yaml rename to specs/yaml/RecurringService-v18.yaml diff --git a/specs/RecurringService-v25.yaml b/specs/yaml/RecurringService-v25.yaml similarity index 100% rename from specs/RecurringService-v25.yaml rename to specs/yaml/RecurringService-v25.yaml