Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-302 validate unknown fields for backupStorages #170

Merged
merged 5 commits into from
Sep 21, 2023
Merged

Conversation

gen1us2k
Copy link
Contributor

@gen1us2k gen1us2k commented Sep 20, 2023

EVEREST-302 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:
EVEREST-302

Short explanation of the problem.

on the open API schema additionalProperties is set to true by default and this setting allows to pass unknown fields to the payload. Setting additionalProperties to false solves the problem

Related pull requests

  • [link]

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Short explanation of the solution we are providing with this PR.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?

Tests

  • Is an Integration test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

@gen1us2k gen1us2k marked this pull request as ready for review September 20, 2023 16:43
@gen1us2k gen1us2k requested a review from a user September 20, 2023 16:43
Copy link
Contributor

@oksana-grishchenko oksana-grishchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So elegant!👏

@gen1us2k gen1us2k merged commit f84f530 into main Sep 21, 2023
4 checks passed
@gen1us2k gen1us2k deleted the EVEREST-302 branch September 21, 2023 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants