Skip to content

Conversation

@lovisaberggren
Copy link
Collaborator

@lovisaberggren lovisaberggren commented Mar 7, 2025

Proposed changes

Adds rule get must not have request body. Added tests and ran the validation (no offenders currently).

Jira ticket: CLOUDP-302985

@lovisaberggren lovisaberggren marked this pull request as ready for review March 7, 2025 12:19
@lovisaberggren lovisaberggren requested a review from a team as a code owner March 7, 2025 12:19
paths: {
'/resource/{id}': {
get: {
'x-xgen-IPA-exception': {
Copy link
Member

Choose a reason for hiding this comment

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

should exception be on request body? Not problem I genuinely asking what do you think we should do here as I have exact use case and cannot decide.

Copy link
Collaborator

Choose a reason for hiding this comment

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

IMHO This exception should be on the operation level because it is validating the absence of requestBody

@lovisaberggren lovisaberggren merged commit 7ba7b40 into main Mar 7, 2025
13 checks passed
@lovisaberggren lovisaberggren deleted the CLOUDP-302985 branch March 7, 2025 16:57
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