Skip to content

Problems with basepath when using https #13

Description

@sancho2934489

When working with https basepath defined as http, it takes from the page api-docs / resources.json. The script swagger_model.py following lines:
base_url = resource_listing.get ( 'basePath')
166 line
I added
if re.search ( "https", resources_url):
base_url = re.sub ( "http", "https", base_url)
then it began to work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions