-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Move property check to marker configuration (#54)
fix - Move property check to marker configuration
- Loading branch information
1 parent
28ef8fd
commit 77cdd98
Showing
2 changed files
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...capi-spring-web/src/main/kotlin/org/openfolder/kotlinasyncapi/springweb/EnableAsyncApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
package org.openfolder.kotlinasyncapi.springweb | ||
|
||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty | ||
import org.springframework.context.annotation.Import | ||
|
||
@Target(AnnotationTarget.CLASS) | ||
@MustBeDocumented | ||
@Import(AsyncApiMarkerConfiguration::class) | ||
@ConditionalOnProperty(name = ["asyncapi.enabled"], havingValue = "true", matchIfMissing = true) | ||
annotation class EnableAsyncApi |