add TODO for moving the struct into the controller
This commit is contained in:
parent
3f2a3efa16
commit
68119ba4de
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ use utoipa::ToSchema;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
use validator::Validate;
|
use validator::Validate;
|
||||||
|
|
||||||
|
// TODO: Move the struct out of here into the controller
|
||||||
#[derive(Deserialize, Validate, ToSchema)]
|
#[derive(Deserialize, Validate, ToSchema)]
|
||||||
pub struct CreateProject {
|
pub struct CreateProject {
|
||||||
#[validate(length(min = 3, max = 255))]
|
#[validate(length(min = 3, max = 255))]
|
||||||
|
|
Loading…
Add table
Reference in a new issue