Skip to content

Conversation

@avirtopeanu-ionos
Copy link
Contributor

If someone imports fileconfiguration and wants to generate a sample config file, the generated file will include empty optional fields

        - name: region-less-API
          endpoints:
            - location: ""                  <-----------
              name: https://api.ionos.com/region-less-API/v1
              skipTlsVerify: false

and this is weird as we expect certain APIs to not have locations.

@sonarqubecloud
Copy link

@avirtopeanu-ionos avirtopeanu-ionos merged commit 6e7ec91 into v2 Jun 20, 2025
2 checks passed
@avirtopeanu-ionos avirtopeanu-ionos deleted the enhancement/omit-empty-fileconfig branch June 20, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants