Package energy.eddie

Class OpenApiDocs

java.lang.Object
energy.eddie.OpenApiDocs

public class OpenApiDocs extends Object
Adds the OpenAPI documentation URLs of all enabled region connectors to the OpenAPI documentation in the current context, so that they can be accessed in the "Select a definition" drop down menu. Additionally, it also adds the API documentation for the European MasterData.
  • Constructor Details

    • OpenApiDocs

      public OpenApiDocs()
  • Method Details

    • swaggerUiConfig

      @Bean @Primary public org.springdoc.core.properties.SwaggerUiConfigProperties swaggerUiConfig(org.springdoc.core.properties.SwaggerUiConfigProperties config, @Value("${server.port}") int serverPort, @Value("${eddie.management.server.port}") int managementPort, @Qualifier("enabledRegionConnectors") List<String> enabledRegionConnectors, @Qualifier("swaggerEnabledOutboundConnectors") List<String> enabledOutboundConnectors)