Skip to content

fix: avoid accessing properties of empty Example Objects#10453

Merged
glowcloud merged 1 commit intomasterfrom
fix-undefined-examples-item
May 20, 2025
Merged

fix: avoid accessing properties of empty Example Objects#10453
glowcloud merged 1 commit intomasterfrom
fix-undefined-examples-item

Conversation

@glowcloud
Copy link
Copy Markdown
Contributor

This PR avoids accessing properties of empty Example Objects, e.g.:

openapi: 3.0.4
paths:
  /test:
    put:
      parameters:
        - in: query
          name: test
          examples:
            test:
      responses:
        '200':
          description: OK

@glowcloud glowcloud merged commit 6a07ac8 into master May 20, 2025
8 checks passed
delendik-testops pushed a commit to ModiusOpenData/swagger-ui that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants