microprofile-extensions / openapi-ext

Some extensions for MicroProfile OpenAPI
Apache License 2.0
22 stars 13 forks source link

Properties with dashes cannot be passed through environment variables #3

Closed kret11 closed 5 years ago

kret11 commented 5 years ago

I tried to set openapi-ui.yamlUrl property with env variable, but it is impossible to use dashes in bash variables. Am I wrong? Is there are chance for changing properties not to use dashes?

phillip-kruger commented 5 years ago

Hi ! Thanks for logging the issue. Yes this would be an issue. It's only tested with including this in META-INF/microprofile-config.properties. I'll make a change soon to fix this. Thanks

kret11 commented 5 years ago

sent you pull request

phillip-kruger commented 5 years ago

Awesome ! Looking at it now !

kret11 commented 5 years ago

one more PR, with README update