Add Flags Assets and Update Configuration

- Introduced multiple SVG flag assets to the project, enhancing the visual representation of country flags.
- Updated the configuration file to include a new path for the flags assets, ensuring proper access and organization.
- Modified the main application to accommodate the new flags path, improving the overall asset management in the application.
This commit is contained in:
n.nakhostin
2025-09-09 14:48:02 +03:30
parent c06ea278c0
commit c873635f6f
281 changed files with 11567 additions and 23 deletions
+82 -5
View File
@@ -1954,6 +1954,43 @@
}
}
},
"/admin/v1/flags/{country_code}": {
"get": {
"security": [
{
"BearerAuth": []
}
],
"description": "Retrieve a country flag by its 3-letter country code for admin panel",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Admin Flags"
],
"summary": "Get flag by country code (Admin)",
"parameters": [
{
"type": "string",
"description": "3-letter country code (e.g., POL, GRC)",
"name": "country_code",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "SVG content",
"schema": {
"type": "string"
}
}
}
}
},
"/admin/v1/health": {
"get": {
"description": "Get comprehensive server health status including system information, dependencies status, and performance metrics. This endpoint is used for monitoring and load balancer health checks.",
@@ -3997,6 +4034,38 @@
}
}
},
"/api/v1//{country_code}": {
"get": {
"description": "Retrieve only the SVG content of a country flag by its 3-letter country code",
"consumes": [
"application/json"
],
"produces": [
"image/svg+xml"
],
"tags": [
"Flags"
],
"summary": "Get flag SVG",
"parameters": [
{
"type": "string",
"description": "3-letter country code (e.g., POL, GRC)",
"name": "country_code",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "SVG content",
"schema": {
"type": "string"
}
}
}
}
},
"/api/v1/companies": {
"get": {
"security": [
@@ -6301,25 +6370,25 @@
"$ref": "#/definitions/customer.CompanySummary"
}
},
"companyIDs": {
"company_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"createdAt": {
"created_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"fullName": {
"full_name": {
"type": "string"
},
"id": {
"type": "string"
},
"lastLoginAt": {
"last_login_at": {
"type": "integer"
},
"password": {
@@ -6334,7 +6403,7 @@
"type": {
"type": "string"
},
"updatedAt": {
"updated_at": {
"type": "integer"
},
"username": {
@@ -7314,6 +7383,10 @@
"description": "Administrative inquiry management operations for web panel including CRUD operations, search, statistics, and comprehensive filtering with pagination",
"name": "Admin-Inquiries"
},
{
"description": "Administrative flag management operations for web panel including flag listing and retrieval",
"name": "Admin-Flags"
},
{
"description": "Customer authentication and authorization operations for mobile application including login, logout, token refresh, and profile access",
"name": "Authorization"
@@ -7337,6 +7410,10 @@
{
"description": "Public inquiry management operations for mobile application including inquiry submission and inquiry listing",
"name": "Inquiries"
},
{
"description": "Public flag management operations for mobile application including flag retrieval and listing",
"name": "Flags"
}
]
}