"nullable" cannot be used without "type" linter error #2568
Unanswered
sonasingh46
asked this question in
General
Replies: 1 comment 1 reply
-
|
Is the The code generated via oapi-codegen shows it as |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The oas3-valid-media-example linter complains about using nullable type when using allOf. I am using the below example schema:
Why does the linter complain while using nullable:true ? Also, when i remove the example from the spec, the error goes away. I am using this code generator https://github.com/deepmap/oapi-codegen and it generates the code as expected and works fine.
Beta Was this translation helpful? Give feedback.
All reactions