-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43616 from MikeEdgar/smallrye-open-api-3.13.0-bui…
…lder Bump smallrye-open-api to 3.13.0, MP OpenAPI to 3.1.2
- Loading branch information
Showing
5 changed files
with
79 additions
and
67 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
20 changes: 20 additions & 0 deletions
20
...napi/runtime/src/main/java/io/quarkus/smallrye/openapi/runtime/OpenAPIRuntimeBuilder.java
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package io.quarkus.smallrye.openapi.runtime; | ||
|
||
import io.smallrye.openapi.api.SmallRyeOpenAPI; | ||
|
||
/** | ||
* Customized {@link SmallRyeOpenAPI.Builder} implementation that only includes | ||
* functionality that should occur at application runtime. Specifically, it only | ||
* supports loading a static OpenAPI file/stream, applying OASFilter instances, | ||
* and writing the OpenAPI model to a DOM for later serialization to JSON or | ||
* YAML. | ||
*/ | ||
class OpenAPIRuntimeBuilder extends SmallRyeOpenAPI.Builder { | ||
@Override | ||
public <V, A extends V, O extends V, AB, OB> SmallRyeOpenAPI build() { | ||
var ctx = super.getContext(); | ||
buildPrepare(ctx); | ||
buildStaticModel(ctx); | ||
return buildFinalize(ctx); | ||
} | ||
} |
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
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
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