Skip to content

Commit

Permalink
Merge pull request #17 from dartartem/master
Browse files Browse the repository at this point in the history
#16: Define a CommonSwaggerAutoConfigure @configuration class that's …
  • Loading branch information
cer authored May 28, 2021
2 parents 5f6b5aa + 14dbb45 commit c44ed58
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package io.eventuate.util.spring.swagger;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnBean(EventuateSwaggerConfig.class)
@Import(CommonSwaggerConfiguration.class)
public class CommonSwaggerAutoConfiguration {

}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
io.eventuate.util.spring.swagger.CommonSwaggerConfiguration
io.eventuate.util.spring.swagger.CommonSwaggerAutoConfiguration
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ eventuateMavenRepoUrl=file:///Users/cer/.m2/testdeploy,https://dl.bintray.com/ev
springBootVersion=2.2.6.RELEASE
swaggerUiVersion=3.17.1
eventuatePluginsGradleVersion=0.8.0.RELEASE
version=0.12.0-SNAPSHOT
version=0.13.0-SNAPSHOT

0 comments on commit c44ed58

Please sign in to comment.