feat: add plugin to support ktor-server-resources (#358)
This commit is contained in:
@ -20,6 +20,11 @@ import kotlin.reflect.full.findAnnotation
|
||||
import kotlin.reflect.full.hasAnnotation
|
||||
import kotlin.reflect.full.memberProperties
|
||||
|
||||
@Deprecated(
|
||||
message = "This functionality is deprecated and will be removed in the future. " +
|
||||
"Use 'ktor-server-resources' with 'kompendium-resources' plugin instead.",
|
||||
level = DeprecationLevel.WARNING
|
||||
)
|
||||
object NotarizedLocations {
|
||||
|
||||
data class LocationMetadata(
|
||||
@ -43,7 +48,6 @@ object NotarizedLocations {
|
||||
name = "NotarizedLocations",
|
||||
createConfiguration = ::Config
|
||||
) {
|
||||
println("hi")
|
||||
val spec = application.attributes[KompendiumAttributes.openApiSpec]
|
||||
val serializableReader = application.attributes[KompendiumAttributes.schemaConfigurator]
|
||||
pluginConfig.locations.forEach { (k, v) ->
|
||||
|
Reference in New Issue
Block a user