Skip to content

Commit

Permalink
refactor :: url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
4mjeo committed Mar 2, 2024
1 parent dbc05d0 commit 03802b0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ import org.springframework.web.bind.annotation.*
)
interface OAuthClient {

@PostMapping("/client")
@PostMapping("/oauth2/client")
@Transactional(propagation = Propagation.REQUIRES_NEW)
fun registerClient(
@RequestHeader("")
@RequestBody request: RegisterClientRequest
): RegisterClientResponse

@PatchMapping("/client/{client-id}")
@PatchMapping("/oauth2/client/{client-id}")
fun updateClient(
@PathVariable("client-id") clientId: String,
@RequestBody request: UpdateClientRequest
): UpdateClientResponse

@GetMapping("/client/{client-id}/secret")
@GetMapping("/oauth2/client/{client-id}/secret")
fun regenerateSecret(@PathVariable("client-id") clientId: String): RegenerateSecretResponse

}

0 comments on commit 03802b0

Please sign in to comment.