Skip to content

Multiple files to SWAGGER_JSON #4820

Closed
@serafdev

Description

@serafdev

I would like to know if there's a way to input multiple files to the environment variable SWAGGER_JSON variable in Docker that will generate something like a drop list in the UI or something.

For now I have something similar to this on my Dockerfile:

ENV SWAGGER_JSON "/docs/doc1.yaml"

And would like to know if there's a structure that maybe looks like:

ENV SWAGGER_JSON "['/docs/doc1.yaml','/docs/doc2.yaml']"

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