Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump node-fetch from 2.6.5 to 2.6.7 in /src #8

Open
wants to merge 2 commits into
base: public
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/.npmrc

This file was deleted.

254 changes: 6 additions & 248 deletions src/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ info:
version: 1.0.0
servers:
- url: /
- url: http://95.211.3.244:3333
- url: http://95.211.3.249:3333
- url: http://95.211.3.250:3333
- url: http://95.211.3.251:3333
- url: process.env.BACKPLANE_URL0
- url: process.env.BACKPLANE_URL
- url: process.env.BACKPLANE_URL2
- url: process.env.BACKPLANE_URL3
variables: {}
security:
- bearerAuth: []
Expand Down Expand Up @@ -251,7 +251,7 @@ paths:
/deploy_signed_transaction:
post:
tags:
- Deploy signed Transaction
- Agreement
summary: Deploy signed transaction
requestBody:
content:
Expand All @@ -268,26 +268,6 @@ paths:
$ref: '#/components/schemas/transaction_object'
security:
- bearerAuth: []
/provide_signed_resolution:
post:
tags:
- Conflict Resolutionn
summary: Verify a signed resolution
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/signed_resolution'
required: true
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/transaction_object'
security:
- bearerAuth: []
components:
schemas:
state:
Expand Down Expand Up @@ -433,7 +413,7 @@ components:
type: object
properties:
IntendedUse:
type: boolean
type: object
properties:
processData:
type: boolean
Expand Down Expand Up @@ -519,13 +499,6 @@ components:
type: integer
issuerId:
type: string
signed_resolution:
type: object
properties:
proof:
type: string
example:
proof: 'eyJhbGciOiJFUzI1NiJ9.eyJwcm9vZlR5cGUiOiJyZXNvbHV0aW9uIiwiZGF0YUV4Y2hhbmdlSWQiOiJTTmg5eUtYYjJlaGxWSFJZQkllay16Z1pVaDJtU1NvMWpwbGg3SWEtNHlRIiwiaWF0IjoxNjQ2OTUxNjM1LCJpc3MiOiJ7XCJhbGdcIjpcIkVTMjU2XCIsXCJjcnZcIjpcIlAtMjU2XCIsXCJkXCI6XCJ1Z1NpSTlJTEdnTWM1TmMwbkFhM3FGTjNBTjBvR2JhMzNJQWFrSHFkdm1nXCIsXCJrdHlcIjpcIkVDXCIsXCJ4XCI6XCJMNldmVlhHYkgwaW82SnBtOTRTMWxwZGk2eUd0VDFPbVo2NUFfa1NfaGs4XCIsXCJ5XCI6XCI2WUUwb1BPcFdCcUM3NURfanRKVWZ5NWxzWGxHak81ZzZRWGl2RHdNREtjXCJ9Iiwic3ViIjoie1wiYWxnXCI6XCJFUzI1NlwiLFwiY3J2XCI6XCJQLTI1NlwiLFwia3R5XCI6XCJFQ1wiLFwieFwiOlwiVlhzQnVPWndWamhvZkpWNGtBaGJhNnduMUVZRHdVSWtnWGIyZlZuTDh4Y1wiLFwieVwiOlwiaDRmTDVRdjRFWXQ3WGRLcWRJeTFaSnM0X1FXWURrWTF6VXpTb0k2MU43WVwifSIsInJlc29sdXRpb24iOiJkZW5pZWQiLCJ0eXBlIjoiZGlzcHV0ZSJ9.TtxUm3E6LfmwEI74cr6RO4-nw-xcFaeARYOZ4z1dBVlc_JU0mCv0Ftr9tCDhggfLiJqb4RIPiNfIytFZMUbx-g'
active_agreements:
type: array
items:
Expand All @@ -537,218 +510,3 @@ components:
bearerFormat: JWT


# /create_agreement:
# post:
# tags:
# - Agreement
# summary: Create agreement
# requestBody:
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/template'
# required: true
# responses:
# '200':
# description: OK
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/agreement_id'
# security:
# - bearerAuth: []
# /update_agreement/{agreement_id}:
# post:
# tags:
# - Agreement
# summary: Update agreement
# parameters:
# - name: agreement_id
# in: path
# required: true
# style: simple
# explode: false
# schema:
# type: string
# requestBody:
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/template'
# required: true
# responses:
# '200':
# description: OK
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/update_msg'
# security:
# - bearerAuth: []
# /sign_agreement/{agreement_id}/{consumer_id}/{provider_id}:
# get:
# tags:
# - Agreement
# summary: Sign agreement
# parameters:
# - name: agreement_id
# in: path
# required: true
# style: simple
# explode: false
# schema:
# type: string
# - name: consumer_id
# in: path
# required: true
# style: simple
# explode: false
# schema:
# type: string
# - name: provider_id
# in: path
# required: true
# style: simple
# explode: false
# schema:
# type: string
# responses:
# '200':
# description: OK
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/sign_msg'
# security:
# - bearerAuth: []
# --------------------------------------------------------openapi.json
# "/create_agreement": {
# "post": {
# "tags": [
# "Agreement"
# ],
# "summary": "Create agreement",
# "requestBody": {
# "content": {
# "application/json": {
# "schema": {
# "$ref": "#/components/schemas/template"
# }
# }
# },
# "required": true
# },
# "responses": {
# "200": {
# "description": "OK",
# "content": {
# "application/json": {
# "schema": {
# "$ref": "#/components/schemas/agreement_id"
# }
# }
# }
# }
# },
# "security": [
# {
# "bearerAuth": []
# }
# ]
# }
# },
# "/update_agreement/{agreement_id}": {
# "post": {
# "tags": [
# "Agreement"
# ],
# "summary": "Update agreement",
# "parameters": [
# {
# "name": "agreement_id",
# "in": "path",
# "required": true,
# "style": "simple",
# "explode": false,
# "schema": {
# "type": "string"
# }
# }
# ],
# "requestBody": {
# "content": {
# "application/json": {
# "schema": {
# "$ref": "#/components/schemas/template"
# }
# }
# },
# "required": true
# },
# "responses": {
# "200": {
# "description": "OK",
# "content": {
# "application/json": {
# "schema": {
# "$ref": "#/components/schemas/update_msg"
# }
# }
# }
# }
# },
# "security": [
# {
# "bearerAuth": []
# }
# ]
# }
# },
# ,
# "/sign_agreement/{agreement_id}/{consumer_id}": {
# "get": {
# "tags": [
# "Agreement"
# ],
# "summary": "Sign agreement",
# "parameters": [
# {
# "name": "agreement_id",
# "in": "path",
# "required": true,
# "style": "simple",
# "explode": false,
# "schema": {
# "type": "string"
# }
# },
# {
# "name": "consumer_id",
# "in": "path",
# "required": true,
# "style": "simple",
# "explode": false,
# "schema": {
# "type": "string"
# }
# }
# ],
# "responses": {
# "200": {
# "description": "OK",
# "content": {
# "application/json": {
# "schema": {
# "$ref": "#/components/schemas/sign_msg"
# }
# }
# }
# }
# },
# "security": [
# {
# "bearerAuth": []
# }
# ]
# }
# }
6 changes: 3 additions & 3 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading