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

adding extra rest context to URL #183

Open
saleemmohammad opened this issue Nov 10, 2021 · 0 comments
Open

adding extra rest context to URL #183

saleemmohammad opened this issue Nov 10, 2021 · 0 comments

Comments

@saleemmohammad
Copy link

When trying to convert Swagger Response to graphQl additional rest context is getting added in the response like
so -- {
"errors": [
{
"message": "Response: 404 - {\n "errors" : [ {\n "errorCode":"404",\n "message": "There is no resource for path /rest/rest/v2/basesites",\n "type": "UnknownResourceError"\n } ]\n}\n",
"locations": [
{
"line": 2,
"column": 1
}
],
"path": [
"getBaseSites"
]
}
],
"data": null

swagger.json has following host entities --
"host": "apparel-uk.royalcyber.org/rest",
"basePath": "/v2",

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

No branches or pull requests

1 participant