be.vlaanderen.informatievlaanderen.ldes.ldio.OpenApiConfig Maven / Gradle / Ivy
The newest version!
package be.vlaanderen.informatievlaanderen.ldes.ldio;
import io.swagger.v3.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@OpenAPIDefinition(
info=@Info(title="LDIO Management API", description = "This API makes it possible manage the LDIO application."),
externalDocs = @ExternalDocumentation(description = "LDIO documentation",
url = "https://informatievlaanderen.github.io/VSDS-Linked-Data-Interactions/"))
@Configuration
public class OpenApiConfig {
@Bean
public GroupedOpenApi publicApi() {
return GroupedOpenApi.builder()
.group("management")
.packagesToScan("be.vlaanderen.informatievlaanderen.ldes.ldio.pipeline",
"be.vlaanderen.informatievlaanderen.ldes.ldio.catalog",
"be.vlaanderen.informatievlaanderen.ldes.ldio.status",
"be.vlaanderen.informatievlaanderen.ldes.ldio.management")
.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy