From c9f91f25be7a18f7044c57aeb19e6c90ab718b4f Mon Sep 17 00:00:00 2001 From: lukesolo Date: Fri, 17 Apr 2020 16:06:44 +0300 Subject: [PATCH 1/3] Adding swagger --- enveloped-application.yaml | 13 +++++++++++ swagger/index.html | 48 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 swagger/index.html diff --git a/enveloped-application.yaml b/enveloped-application.yaml index 183808c..413d8d3 100644 --- a/enveloped-application.yaml +++ b/enveloped-application.yaml @@ -34,6 +34,19 @@ paths: "application/json": schema: $ref: "#/components/schemas/EnvelopedApplication" + callbacks: + done: + callbackUrl: + post: + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationResult" + responses: + "200": + description: Your server returns this code if it accepts the callback responses: "200": description: OK diff --git a/swagger/index.html b/swagger/index.html new file mode 100644 index 0000000..121d686 --- /dev/null +++ b/swagger/index.html @@ -0,0 +1,48 @@ + + + + Swagger + + + + + + + + + + + + +
+ + + + + + \ No newline at end of file From 2faffccf8f35e2fd57229d4e094bf9e5520d0108 Mon Sep 17 00:00:00 2001 From: lukesolo Date: Fri, 17 Apr 2020 16:19:56 +0300 Subject: [PATCH 2/3] Add swagger --- swagger/index.html | 12 ++- swagger/swagger-ui-bundle.js | 134 ++++++++++++++++++++++++ swagger/swagger-ui-standalone-preset.js | 22 ++++ swagger/swagger-ui.css | 4 + swagger/swagger-ui.js | 9 ++ 5 files changed, 177 insertions(+), 4 deletions(-) create mode 100644 swagger/swagger-ui-bundle.js create mode 100644 swagger/swagger-ui-standalone-preset.js create mode 100644 swagger/swagger-ui.css create mode 100644 swagger/swagger-ui.js diff --git a/swagger/index.html b/swagger/index.html index 121d686..fc7f820 100644 --- a/swagger/index.html +++ b/swagger/index.html @@ -8,6 +8,11 @@ + + + + + - + +
- -