FEAT: create new route to open data iniciative

This commit is contained in:
marcos-silva-rodrigues
2024-12-12 13:54:18 -03:00
parent 48d4cbc41a
commit db2ea09d25
10 changed files with 240 additions and 6 deletions
+64
View File
@@ -5530,6 +5530,43 @@
"Health"
]
}
},
"/open-data/sharing-ocean-data": {
"post": {
"operationId": "OpenDataController_createUser",
"parameters": [
{
"name": "dadosfera-lang",
"in": "header",
"required": false,
"schema": {
"enum": [
"pt-br",
"en-us"
],
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateUserOpenDataDTO"
}
}
}
},
"responses": {
"201": {
"description": ""
}
},
"tags": [
"OpenData"
]
}
}
},
"info": {
@@ -8377,6 +8414,33 @@
"required": [
"links"
]
},
"CreateUserOpenDataDTO": {
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"email": {
"type": "string"
},
"organization": {
"type": "string"
},
"enquiryType": {
"type": "string"
}
},
"required": [
"firstName",
"lastName",
"email",
"organization",
"enquiryType"
]
}
}
}