You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by ki...@apache.org on 2019/08/29 17:56:46 UTC
[incubator-milagro-dta] 01/01: illegal whitespace in yaml
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 5c0f75e2d2e2e51ca8b94b64f3ccded65c2b7b16
Author: howardkitto <ki...@gmail.com>
AuthorDate: Thu Aug 29 18:56:17 2019 +0100
illegal whitespace in yaml
---
pkg/bitcoinplugin/open-api.yaml | 232 +---------------------------------------
1 file changed, 1 insertion(+), 231 deletions(-)
diff --git a/pkg/bitcoinplugin/open-api.yaml b/pkg/bitcoinplugin/open-api.yaml
index 5556870..7066aae 100644
--- a/pkg/bitcoinplugin/open-api.yaml
+++ b/pkg/bitcoinplugin/open-api.yaml
@@ -8,96 +8,6 @@ info:
name: http://www.apache.org/licenses/LICENSE-2.0
version: 1.0.0
paths:
- # /1.0/identity:
- # post:
- # summary: Create an Identity Document
- # tags:
- # - identity
- # requestBody:
- # content:
- # application/json:
- # schema:
- # type: object
- # properties:
- # Name:
- # type: string
- # example: ExampleNodeName
- # responses:
- # '200':
- # description: Successful Operation
- # content:
- # application/json:
- # schema:
- # $ref: '#/components/schemas/CreateIdentityResponse'
- # '400':
- # description: Invalid Request
- # content:
- # text/plain:
- # schema:
- # type: string
- # get:
- # summary: Get a list of identity documents
- # tags:
- # - identity
- # parameters:
- # - name: page
- # in: query
- # description: current page
- # schema:
- # type: integer
- # default: 0
- # - name: perPage
- # in: query
- # description: number of items to show
- # schema:
- # type: integer
- # default: 10
- # - name: sortBy
- # in: query
- # description: Sort By field. Prefix with "-" for descending
- # schema:
- # type: string
- # enum:
- # - dateCreatedAsc
- # - dateCreatedDesc
- # responses:
- # '200':
- # description: Successful Operation
- # content:
- # application/json:
- # schema:
- # $ref: '#/components/schemas/IdentityListResponse'
- # '400':
- # description: Invalid Request
- # content:
- # text/plain:
- # schema:
- # type: string
- # /1.0/identity/{IDDocumentCID}:
- # get:
- # summary: Get Details of an Identity
- # tags:
- # - identity
- # parameters:
- # - name: IDDocumentCID
- # in: path
- # description: IPFS hash address of Identity Document
- # required: true
- # schema:
- # type: string
- # responses:
- # '200':
- # description: Successful Operation
- # content:
- # application/json:
- # schema:
- # $ref: '#/components/schemas/Identity'
- # '400':
- # description: Invalid Request
- # content:
- # text/plain:
- # schema:
- # type: string
/v1/order:
post:
summary: Create an order for a new BitCoin Address
@@ -225,114 +135,11 @@ paths:
text/plain:
schema:
type: string
- # /1.0/fulfill/order:
- # post:
- # summary: Create Public Address
- # tags:
- # - fulfill
- # requestBody:
- # content:
- # application/json:
- # schema:
- # type: object
- # properties:
- # OrderPart1CID:
- # type: string
- # example: Qme5S5xVfGYF46oftiLQDevPAGSKy1aggdtrZvvEdiXuqM
- # DocumentCID:
- # type: string
- # example: Qme5S5xVfGYF46oftiLQDevPAGSKy1aggdtrZvvEdiXuqM
- # responses:
- # '200':
- # description: Succesful Operation
- # content:
- # application/json:
- # schema:
- # $ref: '#/components/schemas/FulfillOrderResponse'
- # '400':
- # description: Invalid Request
- # content:
- # text/plain:
- # schema:
- # type: string
- # /1.0/fulfill/order/secret:
- # post:
- # summary: Return Private Key
- # tags:
- # - fulfill
- # requestBody:
- # content:
- # application/json:
- # schema:
- # type: object
- # properties:
- # OrderPart3CID:
- # type: string
- # SenderDocumentCID:
- # type: string
- # responses:
- # '200':
- # description: Succesful Operation
- # content:
- # application/json:
- # schema:
- # $ref: '#/components/schemas/FulfillOrderSecretResponse'
- # '400':
- # description: Invalid Request
- # content:
- # text/plain:
- # schema:
- # type: string
- # /1.0/status:
- # get:
- # description: Test Server Health
- # tags:
- # - system
- # responses:
- # '200':
- # description: Successful Operation
- # content:
- # application/json:
- # schema:
- # $ref: '#/components/schemas/StatusResponse'
- # '400':
- # description: Invalid Request
- # content:
- # text/plain:
- # schema:
- # type: string
servers:
- url: 'http://localhost:5556'
- url: 'http://localhost:5558'
components:
schemas:
- # CreateIdentityResponse:
- # type: object
- # properties:
- # IDDocumentCID:
- # type: string
- # IdentityListResponse:
- # type: object
- # properties:
- # IDDocumentList:
- # type: array
- # items:
- # $ref: '#/components/schemas/Identity'
- # Identity:
- # type: object
- # properties:
- # IDDocumentCID:
- # type: string
- # AuthenticationReference:
- # type: string
- # BeneficiaryECPublicKey:
- # type: string
- # SikePublicKey:
- # type: string
- # BlsPublicKey:
- # type: string
- # Timestamp:
- # type: integer
OrderResponse:
type: object
properties:
@@ -372,48 +179,11 @@ components:
type: string
orderReference:
type: string
- # FulfillOrderResponse:
- # type: object
- # properties:
- # OrderPart2CID:
- # type: string
- # FulfillOrderSecretResponse:
- # type: object
- # properties:
- # OrderPart4CID:
- # type: string
- # StatusResponse:
- # type: object
- # properties:
- # Application:
- # type: string
- # ExtensionVendor:
- # type: string
- # NodeCID:
- # type: string
- # TimeStamp:
- # type: string
- # Plugin:
- # type: string
tags:
- # - name: identity
- # description: Actors in the system
- # externalDocs:
- # url: 'https://milagro.apache.org/docs/milagro-intro/'
- # description: Apache Milagro Docs
- name: order
description: Communication between Principals and Master Fiduciaries
externalDocs:
url: 'https://milagro.apache.org/docs/milagro-intro/'
description: Apache Milagro Docs
- # - name: fulfill
- # description: Actions performed by the Master Fiduciary
- # externalDocs:
- # url: 'https://milagro.apache.org/docs/milagro-intro/'
- # description: Apache Milagro Docs
- # - name: system
- # description: Test Server Health
- # externalDocs:
- # url: 'https://milagro.apache.org/docs/milagro-intro/'
- # description: Apache Milagro Docs
+