mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
- Added descriptive annotations to various parameters across controllers to improve API documentation clarity. - Standardized field definitions in models by including descriptions for better understanding of their purpose. - Updated validation patterns for ID fields to ensure consistency and improve data integrity. - Enhanced overall code readability and maintainability by aligning naming conventions and adding necessary comments.
10 lines
358 B
Go
10 lines
358 B
Go
package models
|
|
|
|
type DependencyPypiProject struct {
|
|
any `collection:"dependency_pypi_projects"`
|
|
BaseModel `bson:",inline"`
|
|
Name string `json:"name" bson:"name" description:"Name"`
|
|
Version string `json:"version" bson:"version" description:"Version"`
|
|
LastSerial int `json:"_last-serial" bson:"last_serial" description:"Last serial"`
|
|
}
|