Spring boot adding swagger ui Add swagger ui spring boot project last step http://localhost:8080/v2/api-docs and copy paste text there https://editor.swagger.io/ http://localhost:8080/swagger-ui.html#/personel-controller