33 lines
1.1 KiB
Java
33 lines
1.1 KiB
Java
package eu.eudat.publicapi.configurations;
|
|
|
|
//import io.swagger.v3.oas.models.OpenAPI;
|
|
//import io.swagger.v3.oas.models.info.Contact;
|
|
//import io.swagger.v3.oas.models.info.Info;
|
|
//import org.springframework.beans.factory.annotation.Autowired;
|
|
//import org.springframework.context.annotation.Bean;
|
|
//import org.springframework.context.annotation.Configuration;
|
|
//import org.springframework.core.env.Environment;
|
|
//
|
|
//@Configuration
|
|
//public class SwaggerConfiguration {
|
|
//
|
|
// // private static final TypeResolver resolver = new TypeResolver();
|
|
//
|
|
// @Autowired
|
|
// private Environment environment;
|
|
//
|
|
// @Bean
|
|
// public OpenAPI ArgosOpenApi() {
|
|
// return new OpenAPI().info(apiInfo());
|
|
// }
|
|
//
|
|
// private Info apiInfo() {
|
|
// return new Info()
|
|
// .title("OpenDMP public API")
|
|
// .description("Argos public API.")
|
|
// .version("1.0")
|
|
// .termsOfService("https://argos.openaire.eu/terms-and-conditions")
|
|
// .contact(new Contact().name("Argos").url("https://argos.openaire.eu/").email("argos@openaire.eu "));
|
|
// }
|
|
//}
|