33 lines
583 B
Python
33 lines
583 B
Python
"""Pydantic schemas for API"""
|
|
|
|
from app.schemas.repository import (
|
|
RepositoryCreate,
|
|
RepositoryUpdate,
|
|
RepositoryResponse,
|
|
RepositoryList
|
|
)
|
|
from app.schemas.review import (
|
|
ReviewResponse,
|
|
ReviewList,
|
|
CommentResponse
|
|
)
|
|
from app.schemas.webhook import (
|
|
GiteaWebhook,
|
|
GitHubWebhook,
|
|
BitbucketWebhook
|
|
)
|
|
|
|
__all__ = [
|
|
"RepositoryCreate",
|
|
"RepositoryUpdate",
|
|
"RepositoryResponse",
|
|
"RepositoryList",
|
|
"ReviewResponse",
|
|
"ReviewList",
|
|
"CommentResponse",
|
|
"GiteaWebhook",
|
|
"GitHubWebhook",
|
|
"BitbucketWebhook",
|
|
]
|
|
|