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:
@@ -359,19 +359,19 @@ definitions:
|
||||
items:
|
||||
$ref: '#/definitions/customer.CompanySummary'
|
||||
type: array
|
||||
companyIDs:
|
||||
company_ids:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
createdAt:
|
||||
created_at:
|
||||
type: integer
|
||||
email:
|
||||
type: string
|
||||
fullName:
|
||||
full_name:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
lastLoginAt:
|
||||
last_login_at:
|
||||
type: integer
|
||||
password:
|
||||
type: string
|
||||
@@ -381,7 +381,7 @@ definitions:
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
updatedAt:
|
||||
updated_at:
|
||||
type: integer
|
||||
username:
|
||||
type: string
|
||||
@@ -2242,6 +2242,30 @@ paths:
|
||||
summary: Get feedback by ID
|
||||
tags:
|
||||
- Admin-Feedback
|
||||
/admin/v1/flags/{country_code}:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Retrieve a country flag by its 3-letter country code for admin
|
||||
panel
|
||||
parameters:
|
||||
- description: 3-letter country code (e.g., POL, GRC)
|
||||
in: path
|
||||
name: country_code
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: SVG content
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: Get flag by country code (Admin)
|
||||
tags:
|
||||
- Admin Flags
|
||||
/admin/v1/health:
|
||||
get:
|
||||
consumes:
|
||||
@@ -3557,6 +3581,28 @@ paths:
|
||||
summary: Update user status
|
||||
tags:
|
||||
- Admin-Users
|
||||
/api/v1//{country_code}:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Retrieve only the SVG content of a country flag by its 3-letter
|
||||
country code
|
||||
parameters:
|
||||
- description: 3-letter country code (e.g., POL, GRC)
|
||||
in: path
|
||||
name: country_code
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- image/svg+xml
|
||||
responses:
|
||||
"200":
|
||||
description: SVG content
|
||||
schema:
|
||||
type: string
|
||||
summary: Get flag SVG
|
||||
tags:
|
||||
- Flags
|
||||
/api/v1/companies:
|
||||
get:
|
||||
consumes:
|
||||
@@ -4681,6 +4727,9 @@ tags:
|
||||
- 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
|
||||
@@ -4699,3 +4748,6 @@ tags:
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user