You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which documentation tool are you using? I think they took a liberty in supporting null type but that's not supported by OpenAPI 3.0. If you upgrade your spec to 3.1, it will generate as expected
Gotcha! So it’s not a bug after all. Sorry about that.
I am using elysiajs, with @elysiajs/swagger plugin. there is no way to set the openapi version to 3.1 for now (its hard coded). but there is a PR opened for that: elysiajs/elysia-swagger#195.
I've changed it manually and it worked as expected. so lets wait for this PR to get approved
Uh oh!
There was an error while loading. Please reload this page.
Description
I have a return type that can be nullable, but I am getting unknown instead:
The documentation was generated correctly:
spec json:
openapi.json
Reproducible example or configuration
No response
OpenAPI specification (optional)
openapi.json
System information (optional)
No response
The text was updated successfully, but these errors were encountered: