Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-1.x] fix: falsely omitted fields in firewall schema #404

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 11, 2024

Backport a3509b6 from #396.

BEGIN_COMMIT_OVERRIDE
fix: falsely omitted fields in firewall schema
END_COMMIT_OVERRIDE

In the [API Docs](https://docs.hetzner.cloud/#firewalls-get-a-firewall)
the `description`, `port`, `destination_ips` and `source_ips` properties
are not marked as required (thus being optional) although in practice
they are always set. This leads to inconsistencies between marshaled
schemas and API responses. This PR modifies the schema so that it is
consistent with the actual API output.

(cherry picked from commit a3509b6)
@github-actions github-actions bot requested a review from a team as a code owner April 11, 2024 08:26
@apricote apricote merged commit 7f39bfa into release-1.x Apr 11, 2024
@apricote apricote deleted the backport-396-to-release-1.x branch April 11, 2024 09:13
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.

2 participants