Skip to content

Conversation

@glowcloud
Copy link
Contributor

@glowcloud glowcloud commented Nov 3, 2025

Adds validation for empty Responses Object. If the Responses Object has at least one non-specification extension field, there will be no validation error.

  • no fields => error shown
responses:
  • specification extension field only => error shown
responses:
   x-extension: 123
  • incorrect HTTP Status Code => no error
responses:
   test:
      description: ok
  • correct HTTP Status Code => no error
responses:
   '200':
      description: ok

@glowcloud glowcloud self-assigned this Nov 3, 2025
@glowcloud glowcloud added the enhancement New feature or request label Nov 3, 2025
@glowcloud glowcloud marked this pull request as draft November 3, 2025 10:37
@glowcloud glowcloud marked this pull request as ready for review November 5, 2025 13:36
@robert-hebel-sb robert-hebel-sb merged commit 69b6b62 into main Nov 7, 2025
8 checks passed
@robert-hebel-sb robert-hebel-sb deleted the feat/empty-responses-validation branch November 7, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants