Skip to content

Specify API file during container launch #139

@schelv

Description

@schelv

Often there is only one api that you want to edit, so selecting which file to edit feels unnecessary.

It would be convenient to specify the api that you want to edit during the container launch.
This way the launch command can be saved as a script and added to a specific project. Which makes editing api's even simpler.

A possible solution could be to pass the location of the api file to the container as an environment variable. Then when opening the app the container gives this location to the browser which loads it directly.

docker run -it -p 8080:8080 -e "API_FILE_PATH=/location/of/openapi.yaml" apicurio/apicurito-ui

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions