-
Notifications
You must be signed in to change notification settings - Fork 13
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
URL should match format "uri" #15
Comments
Seems like a message from the underlying Kong library, I would try there
https://github.com/Kong/httpsnippet
…On Sep 28, 2020, 3:31 PM +0200, thim81 ***@***.***>, wrote:
Hi,
I try to enrich a JSON generated file that is in a valid openapi JSON format and properly renders in Redoc.
But still I get this error:
[Error [HARError]: validation failed] {
errors: [
{
keyword: 'format',
dataPath: '.url',
schemaPath: '#/properties/url/format',
params: { format: 'uri' },
message: 'should match format "uri"'
}
]
}
It is clear that there is something wrong with the URL, but I have no idea where to look.
Could you point in the right direction? Or is there an option to show more detailed debug output?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@thim81 I had the same problem. In my case, I inadvertently had a space in an OpenAPI server URI. |
This how my servers object looks like:
There is no spaces, but I still get the error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I try to enrich a JSON generated file that is in a valid openapi JSON format and properly renders in Redoc.
But still I get this error:
It is clear that there is something wrong with the URL, but I have no idea where to look.
Could you point in the right direction? Or is there an option to show more detailed debug output?
The text was updated successfully, but these errors were encountered: