11
This commit is contained in:
9
app/schemas/release_version.py
Normal file
9
app/schemas/release_version.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class ReleaseVersionOut(BaseModel):
|
||||
version: str
|
||||
|
||||
|
||||
class SetReleaseVersionIn(BaseModel):
|
||||
version: str = Field(min_length=1, max_length=64)
|
||||
Reference in New Issue
Block a user