src/main/java/com/loyalty/homework/config/SwaggerConfig.java
private ApiInfo apiEndPointsInfo() {
        return new ApiInfoBuilder().title("Homework Rest API")
                .description("This Rest API provides a way to create new posts and reply to them")
                .license("Apache 2.0")
                .licenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html")
                .version("1.0-SNAPSHOT")
                .build();
    }
/**
     * The API info that will be used by swagger ui to show the description
     *
     * @return ApiInfo
     */
The API info that will be used by swagger ui to show the description
@return ApiInfo
The API info that will be used by swagger ui to show the description @return ApiInfo
private ApiInfo apiEndPointsInfo() {
        return new ApiInfoBuilder().title("Homework Rest API")
                .description("This Rest API provides a way to create new posts and reply to them")
                .license("Apache 2.0")
                .licenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html")
                .version("1.0-SNAPSHOT")
                .build();
    }
private ApiInfo apiEndPointsInfo ( ) { return new ApiInfoBuilder ( ) . title ( "Homework Rest API" ) . description ( "This Rest API provides a way to create new posts and reply to them" ) . license ( "Apache 2.0" ) . licenseUrl ( "http://www.apache.org/licenses/LICENSE-2.0.html" ) . version ( "1.0-SNAPSHOT" ) . build ( ) ; }
The API info that will be used by swagger ui to show the description
 @return ApiInfo
The API info that will be used by swagger ui to show the description @return ApiInfo