Remove 'country' field from CompanyProfileResponse and update API documentation accordingly

- Eliminated the 'country' field from the CompanyProfileResponse structure in the entity, Swagger JSON, YAML, and Go documentation.
- This change streamlines the response format for company profiles, ensuring clarity and consistency in the API documentation.
- Updated relevant documentation files to reflect the removal, enhancing the overall usability of the API.
This commit is contained in:
n.nakhostin
2025-08-20 12:32:34 +03:30
parent ff3f5a9b8f
commit 1b27ad5304
4 changed files with 0 additions and 9 deletions
-3
View File
@@ -6568,9 +6568,6 @@ const docTemplate = `{
"company.CompanyProfileResponse": {
"type": "object",
"properties": {
"country": {
"type": "string"
},
"created_at": {
"type": "integer"
},
-3
View File
@@ -6562,9 +6562,6 @@
"company.CompanyProfileResponse": {
"type": "object",
"properties": {
"country": {
"type": "string"
},
"created_at": {
"type": "integer"
},
-2
View File
@@ -80,8 +80,6 @@ definitions:
type: object
company.CompanyProfileResponse:
properties:
country:
type: string
created_at:
type: integer
founded_year:
-1
View File
@@ -208,7 +208,6 @@ type CompanyProfileResponse struct {
Name string `json:"name"`
RegistrationNumber string `json:"registration_number"`
Industry string `json:"industry"`
Country string `json:"country"`
FoundedYear *int `json:"founded_year,omitempty"`
CreatedAt int64 `json:"created_at"`
}