Skip to content

adding extra rest context to URL #183

@saleemmohammad

Description

@saleemmohammad

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",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions