Skip to content

Commit

Permalink
Fix gradle multithread issue (#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
mslavik-leidos authored Sep 11, 2023
1 parent 18f4c48 commit 6b918d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private OpenApiDocument generateSchema(
OpenAPI annotationModel = generateAnnotationModel(index, openApiConfig, SmallryeOpenApiTask.class.getClassLoader());
OpenAPI readerModel = OpenApiProcessor.modelFromReader(openApiConfig, classLoader, index);

OpenApiDocument document = OpenApiDocument.INSTANCE;
OpenApiDocument document = OpenApiDocument.newInstance();

document.reset();
document.config(openApiConfig);
Expand Down

0 comments on commit 6b918d2

Please sign in to comment.