-
Notifications
You must be signed in to change notification settings - Fork 350
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
SO-141 Problem+Json for error messages SO-141 #270
Conversation
e0f33a0
to
d2e8b43
Compare
4e894d8
to
111bd51
Compare
111bd51
to
c7f929c
Compare
8fc4adb
to
df1f297
Compare
df1f297
to
1dd8953
Compare
5087c1f
to
5b0080c
Compare
Co-Authored-By: XVincentX <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a couple of minor comments. Other than that it looks AMAZING!!!!!111oneoneone :)
Remember to implement the 405
before you close SO-141 :]
4a481c8
to
4c7760b
Compare
This is implemented in this PR, see the |
9e669ee
to
8091c09
Compare
Good point. This should probably go in the problem_json class.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my last comment.
Besides that it is a FANTASTIC PIECE OF WORK!! SO SPECTACULAR I HAD TO HOLD MY BREATH! :) 🇺🇸
8d1f4e8
to
66eb020
Compare
66eb020
to
5cced33
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is a little bit bigger than expected but there were couple of changes that were needed to make the following modifications a little bit easier:
tslint
configuration to use the one we have in Stoplight. This, with atslint --fix
has changed a little bit of code to use 120 line width instead of 80 (that's most of the changes)any
in favour of type guards andunknown
ProblemJsonError
exception or if it's not provided, constructs a defaultproblem+json
object starting from a genericError
object anyway#266