@startuml
skinparam backgroundColor white
skinparam defaultFontColor black
skinparam ArrowColor black
skinparam shadowing false
skinparam rectangle {
  BorderColor black
  FontColor black
}

title Before: Flat SDK/Auth Docs + Mixed Binding Naming

rectangle "docs/ (root)" as docsRoot #E8F0FE {
  rectangle "README.md\n(Index only)" as docsIndex #F6F9FE
  rectangle "athena-js-auth-bindings.md\n(Partial method detail)" as sdkOverview #F6F9FE
  rectangle "oauth-preconfigured-providers.md" as oauthProviders #F6F9FE
}

rectangle "sdk-api-bindings.md" as sdkRaw #FFEFD5
rectangle "OpenAPI (openapi.yaml + athena-auth.yaml)" as openapi #E6F7EA
rectangle "Server route stack\n(core + plugins)" as serverRoutes #E6F7EA

note right of sdkRaw #FFF4CC
- One large flat list
- Mixed legacy wording
- No docs/auth namespace tree
end note

note bottom of sdkRaw #FDECEC
Admin template naming drift:
auth.admin.emailTemplate.* (legacy)
auth.admin.email.template.* (new target)
end note

sdkOverview --> sdkRaw : references
sdkRaw --> openapi : should match routes
sdkRaw --> serverRoutes : should match runtime

@enduml
