-
-
Save Bethibande/c97b0b64e3dc284c056c02fbf3778a9b to your computer and use it in GitHub Desktop.
#18517-openapi-spec
This file contains 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
{ | |
"openapi": "3.0.3", | |
"info": { | |
"version": "1.1.4", | |
"title": "test-file" | |
}, | |
"paths": { | |
"/repos/deployments": { | |
"post": { | |
"summary": "Create a deployment", | |
"description": "", | |
"tags": [ | |
"repos" | |
], | |
"operationId": "repos/create-deployment", | |
"requestBody": { | |
"required": true, | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"properties": { | |
"payload": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": true | |
}, | |
{ | |
"type": "string", | |
"description": "JSON payload with extra information about the deployment.", | |
"default": "" | |
} | |
] | |
} | |
} | |
} | |
} | |
} | |
}, | |
"responses": { | |
"202": { | |
"description": "Merged branch response", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment