repos with username password
This commit is contained in:
parent
dda00b70ac
commit
345aeaf353
6 changed files with 155 additions and 11 deletions
|
|
@ -52,6 +52,8 @@ class RepositoryCreate(BaseModel):
|
|||
name: str | None = None
|
||||
description: str | None = None
|
||||
branch: str = "main"
|
||||
access_username: str | None = None
|
||||
access_password: str | None = Field(default=None, repr=False)
|
||||
|
||||
model_config = {
|
||||
"json_schema_extra": {
|
||||
|
|
@ -61,6 +63,8 @@ class RepositoryCreate(BaseModel):
|
|||
"name": "Example Repository",
|
||||
"description": "Optional human-readable repository summary.",
|
||||
"branch": "main",
|
||||
"access_username": None,
|
||||
"access_password": None,
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue