OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.38k stars 6.47k forks source link

[REQ][php-slim4] Split config into credentials and dependencies #8954

Closed ybelenko closed 2 years ago

ybelenko commented 3 years ago

Is your feature request related to a problem? Please describe.

I enhanced config in Slim4 generator, but not really satisfied with the result(I use that generator a lot in real projects). Here is example of current config in Slim4 generator

Describe the solution you'd like

Thinks that I'm pretty sure about:

Describe alternatives you've considered

I really like @odan approach in odan/slim4-skeleton project and it's weird that official Slim skeleton includes completely different flow with SettingsInterface.

Additional context

@l0gicgate if you have any suggestions on how to organize config files in Slim project please let us know. @odan I hope your will allow to use your config pattern as reference. I'm not going to copy paste it entirely.

ybelenko commented 2 years ago

Closed via #11159