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

Unhandled schema messages in console with version 4.3.4 #424

Closed
gonenduk opened this issue Oct 27, 2020 · 3 comments
Closed

Unhandled schema messages in console with version 4.3.4 #424

gonenduk opened this issue Oct 27, 2020 · 3 comments

Comments

@gonenduk
Copy link

Describe the bug
As of version 4.3.4 I get console.log messages like:
unhandled schema property: skipping { required: [ 'username', 'email' ] }
unhandled schema property: skipping { type: 'string', enum: [ 'user', 'moderator', 'admin' ] }
unhandled schema property: skipping { required: [ 'title' ] }
unhandled schema property: skipping { type: 'string' }

To Reproduce
Use the attached yaml file (attached in zip).

Expected behaviour
Not to print anything to the console.

Examples and context
api.yaml.zip

@gonenduk
Copy link
Author

Update:
On 4.3.0 works ok.
On 4.3.1, 4.3.2 and 4.3.3 throws an exception (process exit).
On 4.3.4 we get the mentioned console logs.

cdimascio added a commit that referenced this issue Oct 27, 2020
@cdimascio
Copy link
Owner

@gonenduk good to hear from you again :) a fix is on the way

@cdimascio
Copy link
Owner

fixed in v4.3.6

ex1st pushed a commit to ex1st/express-openapi-validator that referenced this issue Dec 9, 2020
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