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:
@@ -6568,9 +6568,6 @@ const docTemplate = `{
|
|||||||
"company.CompanyProfileResponse": {
|
"company.CompanyProfileResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"country": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"created_at": {
|
"created_at": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -6562,9 +6562,6 @@
|
|||||||
"company.CompanyProfileResponse": {
|
"company.CompanyProfileResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"country": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"created_at": {
|
"created_at": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -80,8 +80,6 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
company.CompanyProfileResponse:
|
company.CompanyProfileResponse:
|
||||||
properties:
|
properties:
|
||||||
country:
|
|
||||||
type: string
|
|
||||||
created_at:
|
created_at:
|
||||||
type: integer
|
type: integer
|
||||||
founded_year:
|
founded_year:
|
||||||
|
|||||||
@@ -208,7 +208,6 @@ type CompanyProfileResponse struct {
|
|||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
RegistrationNumber string `json:"registration_number"`
|
RegistrationNumber string `json:"registration_number"`
|
||||||
Industry string `json:"industry"`
|
Industry string `json:"industry"`
|
||||||
Country string `json:"country"`
|
|
||||||
FoundedYear *int `json:"founded_year,omitempty"`
|
FoundedYear *int `json:"founded_year,omitempty"`
|
||||||
CreatedAt int64 `json:"created_at"`
|
CreatedAt int64 `json:"created_at"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user