Skip to content

schemes always set to http when generating openapi spec #79

@inklesspen

Description

@inklesspen

protocol = 'http' if ((hostname and hostname.startswith('localhost')) or util.is_running_on_devserver()) else 'https'

is_running_on_devserver() is always true when running locally to generate the spec. This is not desired behavior.

I think this is an error in #14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions