Refactor WebConfig and SecurityConfig to enhance routing with /api prefix, disable CSRF and anonymous access; update OpenAPI paths accordingly. Add HomeController for default route handling.
This commit is contained in:
@@ -23,41 +23,41 @@ tags:
|
||||
- name: particles
|
||||
description: All actions related to particles
|
||||
paths:
|
||||
/team/{team}:
|
||||
/api/team/{team}:
|
||||
$ref: './schemas/team/team.yml#/getTeam'
|
||||
/history/{userType}/search/{type}:
|
||||
/api/history/{userType}/search/{type}:
|
||||
$ref: './schemas/bans/bans.yml#/getUserNames'
|
||||
/history/{userType}/name/{type}/{user}/{page}:
|
||||
/api/history/{userType}/name/{type}/{user}/{page}:
|
||||
$ref: './schemas/bans/bans.yml#/getHistoryForUsers'
|
||||
/history/{userType}/name/{type}/{page}:
|
||||
/api/history/{userType}/name/{type}/{page}:
|
||||
$ref: './schemas/bans/bans.yml#/getHistoryForAll'
|
||||
/history/{userType}/uuid/{type}/{uuid}/{page}:
|
||||
/api/history/{userType}/uuid/{type}/{uuid}/{page}:
|
||||
$ref: './schemas/bans/bans.yml#/getHistoryForUuid'
|
||||
/history/{userType}/search-results/uuid/{type}/{uuid}:
|
||||
/api/history/{userType}/search-results/uuid/{type}/{uuid}:
|
||||
$ref: './schemas/bans/bans.yml#/getTotalResultsForUuidSearch'
|
||||
/history/{userType}/search-results/user/{type}/{user}:
|
||||
/api/history/{userType}/search-results/user/{type}/{user}:
|
||||
$ref: './schemas/bans/bans.yml#/getTotalResultsForUserSearch'
|
||||
/history/single/{type}/{id}:
|
||||
/api/history/single/{type}/{id}:
|
||||
$ref: './schemas/bans/bans.yml#/getHistoryById'
|
||||
/history/all/{uuid}:
|
||||
/api/history/all/{uuid}:
|
||||
$ref: './schemas/bans/bans.yml#/getAllHistoryForUUID'
|
||||
/history/total:
|
||||
/api/history/total:
|
||||
$ref: './schemas/bans/bans.yml#/getTotalPunishments'
|
||||
/appeal/update-mail:
|
||||
/api/appeal/update-mail:
|
||||
$ref: './schemas/forms/appeal/appeal.yml#/UpdateMail'
|
||||
/appeal/minecraft-appeal:
|
||||
/api/appeal/minecraft-appeal:
|
||||
$ref: './schemas/forms/appeal/appeal.yml#/MinecraftAppeal'
|
||||
/appeal/discord-appeal:
|
||||
/api/appeal/discord-appeal:
|
||||
$ref: './schemas/forms/appeal/appeal.yml#/DiscordAppeal'
|
||||
/login/requestNewUserLogin/{uuid}:
|
||||
/api/login/requestNewUserLogin/{uuid}:
|
||||
$ref: './schemas/login/login.yml#/RequestNewUserLogin'
|
||||
/login/userLogin/{code}:
|
||||
/api/login/userLogin/{code}:
|
||||
$ref: './schemas/login/login.yml#/UserLogin'
|
||||
/files/save/{filename}:
|
||||
/api/files/save/{filename}:
|
||||
$ref: './schemas/particles/particles.yml#/SaveFile'
|
||||
/files/save/{uuid}/{filename}:
|
||||
/api/files/save/{uuid}/{filename}:
|
||||
$ref: './schemas/particles/particles.yml#/SaveFileForUser'
|
||||
/files/download/{filename}/{secret}:
|
||||
/api/files/download/{filename}/{secret}:
|
||||
$ref: './schemas/particles/particles.yml#/DownloadFile'
|
||||
/files/download/{uuid}/{filename}:
|
||||
/api/files/download/{uuid}/{filename}:
|
||||
$ref: './schemas/particles/particles.yml#/DownloadFileForUser'
|
||||
|
||||
Reference in New Issue
Block a user