From 80813a6c2adc23d0c7add30b1fbae19bff1ba0e5 Mon Sep 17 00:00:00 2001 From: aleksei Date: Tue, 19 Nov 2019 14:24:44 +0100 Subject: [PATCH] Move yaml and json in separate folders --- README.md | 10 +++++----- specs/{ => json}/AccountService-v3.json | 0 specs/{ => json}/AccountService-v4.json | 0 specs/{ => json}/AccountService-v5.json | 0 specs/{ => json}/CheckoutService-v37.json | 0 specs/{ => json}/CheckoutService-v40.json | 0 specs/{ => json}/CheckoutService-v41.json | 0 specs/{ => json}/CheckoutService-v46.json | 0 specs/{ => json}/CheckoutUtilityService-v1.json | 0 specs/{ => json}/FundService-v3.json | 0 specs/{ => json}/FundService-v5.json | 0 specs/{ => json}/MarketPayNotificationService-v3.json | 0 specs/{ => json}/MarketPayNotificationService-v4.json | 0 specs/{ => json}/MarketPayNotificationService-v5.json | 0 .../NotificationConfigurationService-v1.json | 0 specs/{ => json}/PaymentService-v25.json | 0 specs/{ => json}/PaymentService-v30.json | 0 specs/{ => json}/PaymentService-v40.json | 0 specs/{ => json}/PaymentService-v46.json | 0 specs/{ => json}/PayoutService-v30.json | 0 specs/{ => json}/RecurringService-v18.json | 0 specs/{ => json}/RecurringService-v25.json | 0 specs/{ => yaml}/AccountService-v3.yaml | 0 specs/{ => yaml}/AccountService-v4.yaml | 0 specs/{ => yaml}/AccountService-v5.yaml | 0 specs/{ => yaml}/CheckoutService-v37.yaml | 0 specs/{ => yaml}/CheckoutService-v40.yaml | 0 specs/{ => yaml}/CheckoutService-v41.yaml | 0 specs/{ => yaml}/CheckoutService-v46.yaml | 0 specs/{ => yaml}/CheckoutUtilityService-v1.yaml | 0 specs/{ => yaml}/FundService-v3.yaml | 0 specs/{ => yaml}/FundService-v5.yaml | 0 specs/{ => yaml}/MarketPayNotificationService-v3.yaml | 0 specs/{ => yaml}/MarketPayNotificationService-v4.yaml | 0 specs/{ => yaml}/MarketPayNotificationService-v5.yaml | 0 .../NotificationConfigurationService-v1.yaml | 0 specs/{ => yaml}/PaymentService-v25.yaml | 0 specs/{ => yaml}/PaymentService-v30.yaml | 0 specs/{ => yaml}/PaymentService-v40.yaml | 0 specs/{ => yaml}/PaymentService-v46.yaml | 0 specs/{ => yaml}/PayoutService-v30.yaml | 0 specs/{ => yaml}/RecurringService-v18.yaml | 0 specs/{ => yaml}/RecurringService-v25.yaml | 0 43 files changed, 5 insertions(+), 5 deletions(-) rename specs/{ => json}/AccountService-v3.json (100%) rename specs/{ => json}/AccountService-v4.json (100%) rename specs/{ => json}/AccountService-v5.json (100%) rename specs/{ => json}/CheckoutService-v37.json (100%) rename specs/{ => json}/CheckoutService-v40.json (100%) rename specs/{ => json}/CheckoutService-v41.json (100%) rename specs/{ => json}/CheckoutService-v46.json (100%) rename specs/{ => json}/CheckoutUtilityService-v1.json (100%) rename specs/{ => json}/FundService-v3.json (100%) rename specs/{ => json}/FundService-v5.json (100%) rename specs/{ => json}/MarketPayNotificationService-v3.json (100%) rename specs/{ => json}/MarketPayNotificationService-v4.json (100%) rename specs/{ => json}/MarketPayNotificationService-v5.json (100%) rename specs/{ => json}/NotificationConfigurationService-v1.json (100%) rename specs/{ => json}/PaymentService-v25.json (100%) rename specs/{ => json}/PaymentService-v30.json (100%) rename specs/{ => json}/PaymentService-v40.json (100%) rename specs/{ => json}/PaymentService-v46.json (100%) rename specs/{ => json}/PayoutService-v30.json (100%) rename specs/{ => json}/RecurringService-v18.json (100%) rename specs/{ => json}/RecurringService-v25.json (100%) rename specs/{ => yaml}/AccountService-v3.yaml (100%) rename specs/{ => yaml}/AccountService-v4.yaml (100%) rename specs/{ => yaml}/AccountService-v5.yaml (100%) rename specs/{ => yaml}/CheckoutService-v37.yaml (100%) rename specs/{ => yaml}/CheckoutService-v40.yaml (100%) rename specs/{ => yaml}/CheckoutService-v41.yaml (100%) rename specs/{ => yaml}/CheckoutService-v46.yaml (100%) rename specs/{ => yaml}/CheckoutUtilityService-v1.yaml (100%) rename specs/{ => yaml}/FundService-v3.yaml (100%) rename specs/{ => yaml}/FundService-v5.yaml (100%) rename specs/{ => yaml}/MarketPayNotificationService-v3.yaml (100%) rename specs/{ => yaml}/MarketPayNotificationService-v4.yaml (100%) rename specs/{ => yaml}/MarketPayNotificationService-v5.yaml (100%) rename specs/{ => yaml}/NotificationConfigurationService-v1.yaml (100%) rename specs/{ => yaml}/PaymentService-v25.yaml (100%) rename specs/{ => yaml}/PaymentService-v30.yaml (100%) rename specs/{ => yaml}/PaymentService-v40.yaml (100%) rename specs/{ => yaml}/PaymentService-v46.yaml (100%) rename specs/{ => yaml}/PayoutService-v30.yaml (100%) rename specs/{ => yaml}/RecurringService-v18.yaml (100%) rename specs/{ => yaml}/RecurringService-v25.yaml (100%) 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