update flowapi to be easier on deno generator

This commit is contained in:
Ruben Fiszel
2022-08-01 16:38:44 +02:00
parent 080860fad8
commit 72002be154
2 changed files with 19 additions and 17 deletions
+7
View File
@@ -62,5 +62,12 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"discord": {
"auth_url": "https://discordapp.com/api/oauth2/authorize",
"token_url": "https://discordapp.com/api/oauth2/token",
"scopes": [
"bot"
]
}
}
+12 -17
View File
@@ -2087,14 +2087,7 @@ paths:
content:
application/json:
schema:
allOf:
- $ref: "../openflow.openapi.yaml#/components/schemas/OpenFlow"
- type: object
properties:
path:
type: string
required:
- path
$ref: "#/components/schemas/OpenFlowWPath"
responses:
"201":
@@ -2119,14 +2112,7 @@ paths:
content:
application/json:
schema:
allOf:
- $ref: "../openflow.openapi.yaml#/components/schemas/OpenFlow"
- type: object
properties:
path:
type: string
required:
- path
$ref: "#/components/schemas/OpenFlowWPath"
responses:
"200":
@@ -3159,7 +3145,6 @@ components:
# explode: false
schemas:
$ref: "../openflow.openapi.yaml#/components/schemas"
Script:
type: object
properties:
@@ -3999,6 +3984,16 @@ components:
- archived
- extra_perms
OpenFlowWPath:
allOf:
- $ref: "../openflow.openapi.yaml#/components/schemas/OpenFlow"
- type: object
properties:
path:
type: string
required:
- path
FlowPreview:
type: object
properties: