diff --git a/README.md b/README.md index 1295fcf39..65257d011 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ This is a community-based project, not maintained by the Spring Framework Contri * Add the `springdoc-openapi-ui` library to the list of your project dependencies (No additional configuration is needed): +Maven ```xml org.springdoc @@ -106,6 +107,11 @@ This is a community-based project, not maintained by the Spring Framework Contri ``` +Gradle +```groovy +implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:latest' +``` + * This step is optional: For custom path of the swagger documentation in HTML format, add a custom springdoc property, in your spring-boot configuration file: @@ -144,6 +150,7 @@ springdoc.swagger-ui.path=/swagger-ui.html * Add the library to the list of your project dependencies. (No additional configuration is needed) +Maven ```xml org.springdoc @@ -152,6 +159,11 @@ springdoc.swagger-ui.path=/swagger-ui.html ``` +Gradle +```groovy +implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:latest' +``` + * This step is optional: For custom path of the OpenAPI documentation in Json format, add a custom springdoc property, in your spring-boot configuration file: @@ -189,6 +201,7 @@ and `@SecurityScheme` annotations within a Spring managed bean. * Add the library to the list of your project dependencies (No additional configuration is needed) +Maven ```xml org.springdoc @@ -197,6 +210,11 @@ and `@SecurityScheme` annotations within a Spring managed bean. ``` +Gradle +```groovy +implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:latest' +``` + * This step is optional: For custom path of the swagger documentation in HTML format, add a custom springdoc property, in your spring-boot configuration file: