Reapply "Merge pull request #250 from dadosfera/beta"

This reverts commit d3f7664116.
This commit is contained in:
marcos-silva-rodrigues
2025-02-01 16:49:18 -03:00
parent 4d54ac744b
commit d86a011bfd
24 changed files with 804 additions and 99 deletions
+170 -2
View File
@@ -5431,6 +5431,117 @@
]
}
},
"/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"
}
},
{
"name": "language",
"required": true,
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
},
"tags": [
"OpenData"
]
}
},
"/customers/{id}/theme": {
"post": {
"operationId": "ThemeController_saveCustomertheme",
"parameters": [
{
"name": "id",
"required": true,
"in": "path",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomerThemeRequest"
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomerThemeResponse"
}
}
}
}
},
"tags": [
"Theme"
],
"security": [
{
"access-token": []
},
{
"access-token": []
}
]
},
"get": {
"operationId": "ThemeController_getCustomerTheme",
"parameters": [
{
"name": "id",
"required": true,
"in": "path",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomerThemeResponse"
}
}
}
}
},
"tags": [
"Theme"
]
}
},
"/health": {
"get": {
"operationId": "HealthController_check",
@@ -5508,6 +5619,9 @@
"items": {
"type": "string"
}
},
"themeEnabled": {
"type": "boolean"
}
},
"required": [
@@ -5516,7 +5630,8 @@
"name",
"tier",
"scheduleLimit",
"links"
"links",
"themeEnabled"
]
},
"AuthUser": {
@@ -8234,8 +8349,61 @@
"required": [
"links"
]
},
"CustomerThemeRequest": {
"type": "object",
"properties": {
"displayName": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"textColor": {
"type": "string"
}
},
"required": [
"displayName",
"backgroundColor",
"textColor"
]
},
"CustomerTheme": {
"type": "object",
"properties": {
"backgroundColor": {
"type": "string"
},
"textColor": {
"type": "string"
},
"logo": {
"type": "string"
},
"logoLogin": {
"type": "string"
}
},
"required": [
"backgroundColor",
"textColor",
"logo",
"logoLogin"
]
},
"CustomerThemeResponse": {
"type": "object",
"properties": {
"theme": {
"$ref": "#/components/schemas/CustomerTheme"
}
},
"required": [
"theme"
]
}
}
}
}
}
}