smallrye-open-api
smallrye-open-api copied to clipboard
SmallRye implementation of Eclipse MicroProfile OpenAPI
The current behavior implemented in response to #716 is incorrect. Whenever a property is `not nullable`, it gets marked as `required` even if it has a default value, which is...
In our API only ids are send instead of objects, so we use @JsonIdentityReference(alwaysAsId = true). See here: https://stackoverflow.com/questions/32692609/swagger-2-0-jackson-jsonidentityinfo-doesnt-work It would be great if you could add this feature, so...
As discussed in #1381 it would be nice to have a way to create an OpenAPI file from multiple maven modules. Idea: The maven plugin could be extended with an...
## Summary When using the maven plugin for generating the openapi.json files, it's not possible to deactivate scanners that are not required. For example, we do not use spring or...
Fixes #1887
Not sure what should happen here, the scopes become a `Map`. Happens on both `main` and `main-4.0` branches. Here's a messy unit test which shows the problem: https://github.com/Azquelt/smallrye-open-api/blob/flow-npe-4x/core/src/test/java/io/smallrye/openapi/runtime/io/security/SecuritySchemeIOTest.java Stack trace:...
I get a lot of messages like ``` 2024-07-02 13:46:46,185 INFO [io.sma.ope.api.util] (vert.x-eventloop-thread-3) SROAP01001: Schema with zero references removed from #/components/schemas: ``` when I activate the option `mp.openapi.extensions.smallrye.remove-unused-schemas.enable`. I believe...
At the moment, the `main-4.0` branch passes the MP OpenAPI 4.0 TCK. Ideally, we would keep compatibility with older versions and continue to pass those TCKs. This is quite tricky...
At the moment, the `main-4.0` branch only generates OpenAPI 3.1 documents. We would like it to also be able to generate OpenAPI 3.0 documents. I think we could do this...
Hi, I am trying to use extensions as profiles to generate multiple OpenAPI specs. In a Quarkus application, I created 2 resources, each exposing 1 endpoint. The idea is for...