contact
This commit is contained in:
parent
0f1cebaba6
commit
5a26bc8d36
@ -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")
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user