-
Notifications
You must be signed in to change notification settings - Fork 5
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
W, [2019-06-25T03:00:29.635993 #1] WARN -- : Unknown string format: guid #2
Comments
Hey @Tall-Paul, you are right,
|
Also worth to mention, It will be helpful for me to understand your use case, in terms of why |
hmm, no particular reason, we call them guids because we're a Microsoft house and... that's what they're always referred to. I was under the impression though that the 'format' is open, and you can use anything you want in there rather than it being limited to certain types? |
Yep, that's totally right, OPENAPI has suggestion for unknown format here https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md
So the WARNING message is just giving you feedback about Potentially it can be other reason If it fails to give you a success response. |
After look around the Also please let me know whether do you just see the warning logs or the request actually fails in your case, cheers |
@Tall-Paul I added the support for Feel free to open a new issue if the request actually fails |
The request never completes, just spins while the console continuously repeats the warning. I've attached the open api spec, nothing sensitive or secret in there. |
Hi,
When doing a 'get' request to fakeit running my spec file, the request never completes and the console shows this (continually):
W, [2019-06-25T03:00:29.635807 #1] WARN -- : Unknown string format: guid
W, [2019-06-25T03:00:29.635904 #1] WARN -- : Unknown string format: guid
W, [2019-06-25T03:00:29.635993 #1] WARN -- : Unknown string format: guid
W, [2019-06-25T03:00:29.636089 #1] WARN -- : Unknown string format: guid
W, [2019-06-25T03:00:29.636191 #1] WARN -- : Unknown string format: guid
W, [2019-06-25T03:00:29.636291 #1] WARN -- : Unknown string format: guid
W, [2019-06-25T03:00:29.636377 #1] WARN -- : Unknown string format: guid
W, [2019-06-25T03:00:29.636654 #1] WARN -- : Unknown string format: guid
My specification does have some fields with a format of 'guid', which isn't a standard format, but according to the documentation for the OpenApi specification it should be supported.
I'm not sure if this warning is related to the request not completing, but it seems a good bet.
This file works fine with 'prism' mock server by the way.
The text was updated successfully, but these errors were encountered: