Skip to content

Support variables in servers #191

@aszenz

Description

@aszenz

Servers can have variables like

{    "servers": [
        {
            "url": "https://{tenant}.app.com",
            "description": "Production server",
            "variables": {
                "tenant": {
                    "default": "demo"
                }
            }
        },
        {
            "url": "https://{tenant}.staging.app.com",
            "description": "Staging server",
            "variables": {
                "tenant": {
                    "default": "demo"
                }
            }
        }
    ]
}

So when generating Servers.elm file support passing variables to server functions

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