Skip to content

Instantly share code, notes, and snippets.

@rolroralra
Last active July 19, 2022 08:35
Show Gist options
  • Save rolroralra/74a632dc7dfb6d020254d02ddd34f839 to your computer and use it in GitHub Desktop.
Save rolroralra/74a632dc7dfb6d020254d02ddd34f839 to your computer and use it in GitHub Desktop.
PlantUML

PlantUML

https://plantuml.com/ko/

@startuml
skinparam responseMessageBelowArrow true

actor WebClient as client
participant ApiController as controller
participant DomainService as service
database DomainRepository as repository

participant AuthService as authService
boundary AuthApiAdapter as authApiService

client -> controller : GET /api/v1/test
controller -> authService : userValidationCheck()
authService -> authApiService : GET /api/v1/auth
authApiService --> authService : HTTP/1.1 200 OK
authService --> controller : true

controller -> service : process()
service -> repository : findById(1L)
repository --> service : response : TestEntity
service --> controller : response : TestDto
controller --> client : HTTP/1.1 200 OK

@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment