question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected warning when URL of server object is relative URL

See original GitHub issue
severs:
  - url: /v1

In SwaggerParseResult, I saw message "attribute .servers. invalid url: /v1 ".

Wonder if relative URL is not supported anymore.

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
r-sreesarancommented, Dec 9, 2020

The changes has been rolled back. please do check https://github.com/swagger-api/swagger-parser/issues/1329 Also do try with the latest version of parser.

0reactions
gracekarinacommented, Feb 2, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do url variables cause issues with ajax relative url?
This fixes the issue of that the url variables cause, but only locally. When I deploy to our servers, my app is located...
Read more >
element should not contain relative URL references
Solution. Make sure all URLs are absolute, that is, that they include your server name and a full path. This is an example...
Read more >
OpenAPI Specification v3.1.0 | Introduction, Definitions, & More
The path is appended (no relative URL resolution) to the expanded URL from the Server Object 's url field in order to construct...
Read more >
npm packages in the Package Registry - GitLab Docs
Replace @my-other-org with the namespace or group that owns your project's repository, and use your organization's URL. The name is case-sensitive and must ......
Read more >
Exclude the relative path URL for SharePoint backup
Relative URL Path is what remains when you remove the common part from the URL. Note: For List, the relative URL path contains...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found