This commit is contained in:
uPagge 2021-01-06 22:22:56 +03:00
parent 0f1cebaba6
commit 5a26bc8d36
No known key found for this signature in database
GPG Key ID: 964B40928E4C9088

View File

@ -1,12 +1,12 @@
package org.sadtech.example.swagger.config; package org.sadtech.example.swagger.config;
import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info; import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
/** /**
*
* @author upagge 30.12.2020 * @author upagge 30.12.2020
*/ */
@Configuration @Configuration
@ -19,6 +19,12 @@ public class SwaggerConfig {
new Info() new Info()
.title("Loyalty System Api") .title("Loyalty System Api")
.version("1.0.0") .version("1.0.0")
.contact(
new Contact()
.email("me@upagge.ru")
.url("https://uPagge.ru")
.name("Struchkov Mark")
)
); );
} }