diff --git a/springwolf-core/src/main/java/io/github/stavshamir/springwolf/schemas/DefaultSchemasService.java b/springwolf-core/src/main/java/io/github/stavshamir/springwolf/schemas/DefaultSchemasService.java index c285c8472..b9ae07052 100644 --- a/springwolf-core/src/main/java/io/github/stavshamir/springwolf/schemas/DefaultSchemasService.java +++ b/springwolf-core/src/main/java/io/github/stavshamir/springwolf/schemas/DefaultSchemasService.java @@ -58,6 +58,7 @@ public String register(AsyncHeaders headers) { log.debug("Registering schema for {}", headers.getSchemaName()); MapSchema headerSchema = new MapSchema(); + headerSchema.setName(headers.getSchemaName()); headerSchema.properties(headers); this.definitions.put(headers.getSchemaName(), headerSchema); diff --git a/springwolf-plugins/springwolf-kafka-plugin/build.gradle b/springwolf-plugins/springwolf-kafka-plugin/build.gradle index 476dcb346..101fc4bfc 100644 --- a/springwolf-plugins/springwolf-kafka-plugin/build.gradle +++ b/springwolf-plugins/springwolf-kafka-plugin/build.gradle @@ -27,8 +27,6 @@ dependencies { implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}" implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" - implementation "io.swagger.core.v3:swagger-models-jakarta:${swaggerVersion}" - compileOnly "com.google.code.findbugs:jsr305:${jsr305Version}" permitUnusedDeclared "com.google.code.findbugs:jsr305:${jsr305Version}"