resolve manual DTOs
This commit is contained in:
@@ -8,6 +8,85 @@
|
||||
"paths": {},
|
||||
"components": {
|
||||
"schemas": {
|
||||
"UpdateTeamOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"success"
|
||||
]
|
||||
},
|
||||
"GetTeamMembershipOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"role": {
|
||||
"type": "string"
|
||||
},
|
||||
"joinedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"role",
|
||||
"joinedAt",
|
||||
"isActive"
|
||||
]
|
||||
},
|
||||
"CreateTeamOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"success"
|
||||
]
|
||||
},
|
||||
"CreateTeamInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"tag"
|
||||
]
|
||||
},
|
||||
"SponsorshipRequestDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"sponsorId": {
|
||||
"type": "string"
|
||||
},
|
||||
"sponsorName": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"sponsorId",
|
||||
"sponsorName"
|
||||
]
|
||||
},
|
||||
"SponsorshipPricingItemDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -161,6 +240,32 @@
|
||||
"sponsorName"
|
||||
]
|
||||
},
|
||||
"SponsorDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"RejectSponsorshipRequestInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"respondedBy": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"respondedBy"
|
||||
]
|
||||
},
|
||||
"GetSponsorSponsorshipsQueryParamsDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -183,6 +288,21 @@
|
||||
"sponsorId"
|
||||
]
|
||||
},
|
||||
"GetPendingSponsorshipRequestsOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entityType": {
|
||||
"type": "string"
|
||||
},
|
||||
"entityId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"entityType",
|
||||
"entityId"
|
||||
]
|
||||
},
|
||||
"CreateSponsorInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -198,6 +318,17 @@
|
||||
"contactEmail"
|
||||
]
|
||||
},
|
||||
"AcceptSponsorshipRequestInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"respondedBy": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"respondedBy"
|
||||
]
|
||||
},
|
||||
"WithdrawFromRaceParamsDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -213,6 +344,25 @@
|
||||
"driverId"
|
||||
]
|
||||
},
|
||||
"ReviewProtestCommandDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"protestId": {
|
||||
"type": "string"
|
||||
},
|
||||
"stewardId": {
|
||||
"type": "string"
|
||||
},
|
||||
"enum": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"protestId",
|
||||
"stewardId",
|
||||
"enum"
|
||||
]
|
||||
},
|
||||
"RequestProtestDefenseCommandDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -874,25 +1024,6 @@
|
||||
"enum"
|
||||
]
|
||||
},
|
||||
"RequestAvatarGenerationInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"userId": {
|
||||
"type": "string"
|
||||
},
|
||||
"facePhotoData": {
|
||||
"type": "string"
|
||||
},
|
||||
"suitColor": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"userId",
|
||||
"facePhotoData",
|
||||
"suitColor"
|
||||
]
|
||||
},
|
||||
"UpdatePaymentStatusInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1058,99 +1189,7 @@
|
||||
"id"
|
||||
]
|
||||
},
|
||||
"GetDriverRegistrationStatusQueryDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"raceId": {
|
||||
"type": "string"
|
||||
},
|
||||
"driverId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"raceId",
|
||||
"driverId"
|
||||
]
|
||||
},
|
||||
"DriverStatsDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"totalDrivers": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalDrivers"
|
||||
]
|
||||
},
|
||||
"DriverRegistrationStatusDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isRegistered": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"raceId": {
|
||||
"type": "string"
|
||||
},
|
||||
"driverId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"isRegistered",
|
||||
"raceId",
|
||||
"driverId"
|
||||
]
|
||||
},
|
||||
"DriverLeaderboardItemDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"rating": {
|
||||
"type": "number"
|
||||
},
|
||||
"skillLevel": {
|
||||
"type": "string"
|
||||
},
|
||||
"nationality": {
|
||||
"type": "string"
|
||||
},
|
||||
"racesCompleted": {
|
||||
"type": "number"
|
||||
},
|
||||
"wins": {
|
||||
"type": "number"
|
||||
},
|
||||
"podiums": {
|
||||
"type": "number"
|
||||
},
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rank": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"rating",
|
||||
"skillLevel",
|
||||
"nationality",
|
||||
"racesCompleted",
|
||||
"wins",
|
||||
"podiums",
|
||||
"isActive",
|
||||
"rank"
|
||||
]
|
||||
},
|
||||
"CompleteOnboardingOutputDTO": {
|
||||
"UploadMediaOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
@@ -1161,27 +1200,101 @@
|
||||
"success"
|
||||
]
|
||||
},
|
||||
"CompleteOnboardingInputDTO": {
|
||||
"UpdateAvatarOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"firstName": {
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"success"
|
||||
]
|
||||
},
|
||||
"UpdateAvatarInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"driverId": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastName": {
|
||||
"type": "string"
|
||||
},
|
||||
"displayName": {
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"firstName",
|
||||
"lastName",
|
||||
"displayName",
|
||||
"country"
|
||||
"driverId",
|
||||
"avatarUrl"
|
||||
]
|
||||
},
|
||||
"RequestAvatarGenerationInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"userId": {
|
||||
"type": "string"
|
||||
},
|
||||
"facePhotoData": {
|
||||
"type": "string"
|
||||
},
|
||||
"suitColor": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"userId",
|
||||
"facePhotoData",
|
||||
"suitColor"
|
||||
]
|
||||
},
|
||||
"GetMediaOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"uploadedAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"size": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"url",
|
||||
"type",
|
||||
"uploadedAt"
|
||||
]
|
||||
},
|
||||
"GetAvatarOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"avatarUrl"
|
||||
]
|
||||
},
|
||||
"DeleteMediaOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"success"
|
||||
]
|
||||
},
|
||||
"UpdateLeagueMemberRoleOutputDTO": {
|
||||
@@ -1651,6 +1764,330 @@
|
||||
"leagueId"
|
||||
]
|
||||
},
|
||||
"GetDriverRegistrationStatusQueryDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"raceId": {
|
||||
"type": "string"
|
||||
},
|
||||
"driverId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"raceId",
|
||||
"driverId"
|
||||
]
|
||||
},
|
||||
"DriverProfileDriverSummaryDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"country",
|
||||
"avatarUrl"
|
||||
]
|
||||
},
|
||||
"DriverProfileStatsDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"totalRaces": {
|
||||
"type": "number"
|
||||
},
|
||||
"wins": {
|
||||
"type": "number"
|
||||
},
|
||||
"podiums": {
|
||||
"type": "number"
|
||||
},
|
||||
"dnfs": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalRaces",
|
||||
"wins",
|
||||
"podiums",
|
||||
"dnfs"
|
||||
]
|
||||
},
|
||||
"DriverProfileFinishDistributionDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"totalRaces": {
|
||||
"type": "number"
|
||||
},
|
||||
"wins": {
|
||||
"type": "number"
|
||||
},
|
||||
"podiums": {
|
||||
"type": "number"
|
||||
},
|
||||
"topTen": {
|
||||
"type": "number"
|
||||
},
|
||||
"dnfs": {
|
||||
"type": "number"
|
||||
},
|
||||
"other": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalRaces",
|
||||
"wins",
|
||||
"podiums",
|
||||
"topTen",
|
||||
"dnfs",
|
||||
"other"
|
||||
]
|
||||
},
|
||||
"DriverProfileTeamMembershipDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"teamId": {
|
||||
"type": "string"
|
||||
},
|
||||
"teamName": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"teamId",
|
||||
"teamName"
|
||||
]
|
||||
},
|
||||
"DriverProfileSocialFriendSummaryDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"country",
|
||||
"avatarUrl"
|
||||
]
|
||||
},
|
||||
"DriverProfileSocialSummaryDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"friendsCount": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"friendsCount"
|
||||
]
|
||||
},
|
||||
"DriverProfileAchievementDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"title",
|
||||
"description"
|
||||
]
|
||||
},
|
||||
"GetDriverOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"iracingId": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"type": "string"
|
||||
},
|
||||
"bio": {
|
||||
"type": "string"
|
||||
},
|
||||
"joinedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"iracingId",
|
||||
"name",
|
||||
"country",
|
||||
"joinedAt"
|
||||
]
|
||||
},
|
||||
"DriverStatsDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"totalDrivers": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalDrivers"
|
||||
]
|
||||
},
|
||||
"DriverRegistrationStatusDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isRegistered": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"raceId": {
|
||||
"type": "string"
|
||||
},
|
||||
"driverId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"isRegistered",
|
||||
"raceId",
|
||||
"driverId"
|
||||
]
|
||||
},
|
||||
"DriverLeaderboardItemDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"rating": {
|
||||
"type": "number"
|
||||
},
|
||||
"skillLevel": {
|
||||
"type": "string"
|
||||
},
|
||||
"nationality": {
|
||||
"type": "string"
|
||||
},
|
||||
"racesCompleted": {
|
||||
"type": "number"
|
||||
},
|
||||
"wins": {
|
||||
"type": "number"
|
||||
},
|
||||
"podiums": {
|
||||
"type": "number"
|
||||
},
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rank": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"rating",
|
||||
"skillLevel",
|
||||
"nationality",
|
||||
"racesCompleted",
|
||||
"wins",
|
||||
"podiums",
|
||||
"isActive",
|
||||
"rank"
|
||||
]
|
||||
},
|
||||
"DriverDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"iracingId": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"iracingId",
|
||||
"name",
|
||||
"country"
|
||||
]
|
||||
},
|
||||
"CompleteOnboardingOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"success"
|
||||
]
|
||||
},
|
||||
"CompleteOnboardingInputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"firstName": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastName": {
|
||||
"type": "string"
|
||||
},
|
||||
"displayName": {
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"firstName",
|
||||
"lastName",
|
||||
"displayName",
|
||||
"country"
|
||||
]
|
||||
},
|
||||
"AuthenticatedUserDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1710,6 +2147,52 @@
|
||||
"eventId",
|
||||
"engagementWeight"
|
||||
]
|
||||
},
|
||||
"GetDashboardDataOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"totalUsers": {
|
||||
"type": "number"
|
||||
},
|
||||
"activeUsers": {
|
||||
"type": "number"
|
||||
},
|
||||
"totalRaces": {
|
||||
"type": "number"
|
||||
},
|
||||
"totalLeagues": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalUsers",
|
||||
"activeUsers",
|
||||
"totalRaces",
|
||||
"totalLeagues"
|
||||
]
|
||||
},
|
||||
"GetAnalyticsMetricsOutputDTO": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pageViews": {
|
||||
"type": "number"
|
||||
},
|
||||
"uniqueVisitors": {
|
||||
"type": "number"
|
||||
},
|
||||
"averageSessionDuration": {
|
||||
"type": "number"
|
||||
},
|
||||
"bounceRate": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"pageViews",
|
||||
"uniqueVisitors",
|
||||
"averageSessionDuration",
|
||||
"bounceRate"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user