CAS takes advantages of Swagger to produce API documentation automatically. The generated documentation supports all CAS endpoints and REST APIs provided they are made available to the runtime application context and are present in the overlay.

Support is enabled by including the following dependency in the overlay:

implementation "org.apereo.cas:cas-server-support-swagger:${project.'cas.version'}"
dependencyManagement {
  imports {
    mavenBom "org.apereo.cas:cas-server-support-bom:${project.'cas.version'}"

dependencies {  
  implementation "org.apereo.cas:cas-server-support-swagger"


The following Swagger endpoints may be used to analyze and test the APIs:

Description URL
Swagger API Specification https://sso.example.org/cas/v3/api-docs
Swagger UI https://sso.example.org/cas/swagger-ui.html