Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to allow for nullable values #24

Open
aprixon01112017 opened this issue May 9, 2018 · 1 comment
Open

How to allow for nullable values #24

aprixon01112017 opened this issue May 9, 2018 · 1 comment

Comments

@aprixon01112017
Copy link

I know that OpenApi 2 doesn't support nullable values.

Is there a way to selectively disable type checking in swagger-express-mw ? Perhaps with sime x-??? tag ?

@Tudes
Copy link

Tudes commented Oct 16, 2018

@aprixon01112017 For possible nullable values I'm using type: [string, "null"] - Swagger 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants