Skip to content

[BUG] [Python] it handles servers urls trailing slash incorrectly #7533

@ksvirkou-hubspot

Description

@ksvirkou-hubspot
Description

Sample spec(swagger):

"servers": [
{
"url": "https://api.*.com/"
}
],

Generated code sends requests to urls with double slashes and It returns 404
Example endpoint url: “https://api.*.com//crm/v3/objects/contacts”

openapi-generator version

5.0.0-SNAPSHOT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions