Browse Source

swagger doc pages

main
ddangelorb 3 years ago
parent
commit
a028887449
  1. 6
      src/main/java/org/waterproofingdata/wpdauth/config/SwaggerConfig.java

6
src/main/java/org/waterproofingdata/wpdauth/config/SwaggerConfig.java

@ -45,11 +45,11 @@ public class SwaggerConfig {
private ApiInfo metadata() {
return new ApiInfoBuilder()//
.title("JSON Web Token Authentication API")//
.title("The authenticator for the Waterproofing Data (WPD) Work Packages")//
.description("This is a sample JWT authentication service. You can find out more about JWT at [https://jwt.io/](https://jwt.io/). For this sample, you can use the `admin` or `client` users (password: admin and client respectively) to test the authorization filters. Once you have successfully logged in and obtained the token, you should click on the right top button `Authorize` and introduce it with the prefix \"Bearer \".")//
.version("1.0.0")//
.license("MIT License").licenseUrl("http://opensource.org/licenses/MIT")//
.contact(new Contact(null, null, "mauriurraco@gmail.com"))//
.license("Apache-2.0 License").licenseUrl("https://opensource.org/licenses/Apache-2.0")//
.contact(new Contact(null, null, "igsd@warwick.ac.uk"))//
.build();
}

Loading…
Cancel
Save