Skip to content

Instantly share code, notes, and snippets.

@manuelmazzuola
Created November 6, 2023 13:37
Show Gist options
  • Save manuelmazzuola/8a6c51ab970c5d158fd541e8a7e0667c to your computer and use it in GitHub Desktop.
Save manuelmazzuola/8a6c51ab970c5d158fd541e8a7e0667c to your computer and use it in GitHub Desktop.
{
"openapi": "3.1.0",
"info": {
"title": "Cloudesire Marketplace API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://cloudesire-dev-backend.netasaas.cloudeng.it/marketplace"
}
],
"paths": {
"/configuration/{name}": {
"patch": {
"summary": "Updates the configuration file",
"description": "",
"operationId": "patchConfiguration",
"parameters": [
{
"name": "name",
"in": "path",
"description": "Name of the configuration file",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"$ref": "#/components/requestBodies/ConfigurationBody"
},
"responses": {
"204": {
"description": "No Content"
}
}
}
}
},
"components": {
"requestBodies": {
"ConfigurationBody": {
"description": "A JSON object containing Configuration information",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment