This is an automated email from the ASF dual-hosted git repository.

kittohoward pushed a commit to branch bugfix_btcopenApi
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-dta.git

commit e4745086e264f267fa65ea089cd7941ba9f0f4dc
Author: howardkitto <[email protected]>
AuthorDate: Fri Aug 30 06:32:05 2019 +0100

    fixes bitcoinwallet open api
---
 pkg/bitcoinplugin/open-api.yaml | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/pkg/bitcoinplugin/open-api.yaml b/pkg/bitcoinplugin/open-api.yaml
index 7066aae..0b5de9b 100644
--- a/pkg/bitcoinplugin/open-api.yaml
+++ b/pkg/bitcoinplugin/open-api.yaml
@@ -21,8 +21,7 @@ paths:
               type: object
               properties:
                 beneficiaryIDDocumentCID:
-                  type: string                  
-                  example: QmfWg5GffUEzwahd9hkvdnqTGQs5PfusoEpx3kSDSdG4ze
+                  type: string                                    
                 extension:
                   type: object
                   properties:
@@ -117,11 +116,9 @@ paths:
               type: object
               properties:
                 orderReference:
-                  type: string                  
-                  example: 087a8a28-c420-11e9-b960-acde48001122
+                  type: string                                    
                 beneficiaryIDDocumentCID:
-                  type: string                  
-                  example: QmfWg5GffUEzwahd9hkvdnqTGQs5PfusoEpx3kSDSdG4ze
+                  type: string                                    
       responses:
         '200':
           description: Succesful Operation
@@ -143,16 +140,17 @@ components:
       OrderResponse:
         type: object
         properties:
-          orderPart1CID:
-            type: string
-          orderPart2CID:
-            type: string
           orderReference:
             type: string
           commitment:
             type: string
           createdAt:
             type: string
+          extension:
+            type: object
+            properties:
+              address:
+                type: string
       OrderListResponse:
         type: object
         properties:
@@ -179,11 +177,14 @@ components:
             type: string
           orderReference:
             type: string
+          extension:
+            type: object
+            properties:
+              address:
+                type: string
 tags:
   - name: order
     description: Communication between Principals and Master Fiduciaries
     externalDocs:
       url: 'https://milagro.apache.org/docs/milagro-intro/'
-      description: Apache Milagro Docs
-
-  
+      description: Apache Milagro Docs
\ No newline at end of file

Reply via email to