Created
March 21, 2021 14:37
-
-
Save sjkp/de3d96fc33d437a47b2ab359f3ed70b5 to your computer and use it in GitHub Desktop.
Generate openapi from Logic Apps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "1.0.0.0", | |
"title": "REMOVED", | |
"description": "Azure Logic App." | |
}, | |
"host": "prod-02.northeurope.logic.azure.com", | |
"basePath": "/workflows/931ae63fd6b6459e88c2cf43ed366b20/triggers", | |
"schemes": [ | |
"https" | |
], | |
"consumes": [ | |
"application/json" | |
], | |
"produces": [ | |
"application/json" | |
], | |
"paths": { | |
"/manual/paths/invoke": { | |
"post": { | |
"description": "Trigger a run of the logic app.", | |
"operationId": "manual-invoke", | |
"parameters": [ | |
{ | |
"name": "api-version", | |
"in": "query", | |
"description": "The service API version.", | |
"required": true, | |
"type": "string" | |
}, | |
{ | |
"name": "sp", | |
"in": "query", | |
"description": "The permissions; generally 'read' or 'write'.", | |
"required": true, | |
"type": "string" | |
}, | |
{ | |
"name": "sv", | |
"in": "query", | |
"description": "The version number of the query parameters.", | |
"required": true, | |
"type": "string" | |
}, | |
{ | |
"name": "sig", | |
"in": "query", | |
"description": "The SHA 256 hash of the entire request URI with an internal key.", | |
"required": true, | |
"type": "string" | |
}, | |
{ | |
"name": "body", | |
"in": "body", | |
"description": "The request body.", | |
"required": false, | |
"schema": { | |
"$ref": "#/definitions/request-manual" | |
} | |
} | |
], | |
"responses": { | |
"default": { | |
"description": "The Logic App Response.", | |
"schema": { | |
"type": "object" | |
} | |
}, | |
"200": { | |
"description": "The Logic App Response.", | |
"schema": { | |
"type": "object" | |
} | |
} | |
}, | |
"deprecated": false | |
} | |
} | |
}, | |
"definitions": { | |
"request-manual": { | |
"description": "the msg you want to save", | |
"properties": { | |
"msg": { | |
"description": "the msg", | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment