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

Log request matching process for better problem diagnosis #2 #153

Closed

Conversation

radion-chernyakov
Copy link
Contributor

Here is #139 PR, with resolved conflicts and added tests for logging diagnostic info.
Also I've refactored tests little bit, made them more readable by adding more context info.

This changes handle (and provide ability to debug) such kind of errors:

  1. when request's path does not matched any documented endpoints
  2. when request's headers does not matched headers schema for this endpoint
  3. when request's body does not matched body schema (corresponding to request's content-type) for this endpoint

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

Successfully merging this pull request may close these issues.

1 participant