Skip to content

Combine differents configuration endpoint in the same file #97

Description

@JavierPozoDelevoper

Hi, i want organizate my stubb folder like this:

  • stubbs
    • data
    • enpoints

This is to be able to separate the endpoints from the stubby depending on the different modules and not just have a huge file with all the endpoints.

I have tried to use an additional package that to combine the .yml files but it has not worked for me. This is what i used:

  • Package: merge-yaml
  • Cli command: merge-yaml -i src/stubbs/endpoints/*.yaml -o endpoints.yaml && stubby -s 1500 -d endpoints.yaml

Does anyone have a similar structure that works for them or is there a way to load a list of config files?

Thx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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