In above example Loader is going to load all configs from config/responses.yml, next is going to load config/api.yml and merge responses.yml with api.yml.
From now TuTu can also use following env variables:
tutu_config - custom path to config.yml file
tutu_resources - custom path to resources folder
tutu_responses - custom path to responses.yml file
After this PR it would be possible to include responses config files using "include" key in responses.yml For example:
In above example Loader is going to load all configs from
config/responses.yml
, next is going to loadconfig/api.yml
and merge responses.yml with api.yml.From now TuTu can also use following env variables: