Skip to content

Commit

Permalink
feat(core): add schema name to AsyncHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback committed Oct 27, 2023
1 parent 6c3eba1 commit 047a181
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions springwolf-plugins/springwolf-kafka-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 047a181

Please sign in to comment.