refactor!: add v1 prefix to endpoints
This commit is contained in:
parent
5053f83470
commit
a3e72cbb1b
12 changed files with 17 additions and 17 deletions
|
|
@ -119,7 +119,7 @@ function imageLocation(id: string) {
|
|||
return `user/profile-img-${id}`;
|
||||
}
|
||||
|
||||
@Route("api/user")
|
||||
@Route("api/v1/user")
|
||||
@Tags("User")
|
||||
@Security("keycloak")
|
||||
export class UserController extends Controller {
|
||||
|
|
@ -507,7 +507,7 @@ function attachmentLocation(uid: string) {
|
|||
return `user-attachment/${uid}`;
|
||||
}
|
||||
|
||||
@Route("api/user/{userId}/attachment")
|
||||
@Route("api/v1/user/{userId}/attachment")
|
||||
@Tags("User")
|
||||
@Security("keycloak")
|
||||
export class UserAttachmentController extends Controller {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue