Skip to content

Conversation

@shenbenson
Copy link
Contributor

@shenbenson shenbenson commented Oct 22, 2025

This fixes the problem with empty objects like:

      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - type: object
                  properties: {}
                - $ref: '#/components/schemas/ESignatures'

Objects like these causes ReadMe to not render the endpoint properly.

Manually tested locally in entity-validation, and it addresses the problem while not affecting other parts of the file:

image

Ticket: DX-2181

@shenbenson shenbenson marked this pull request as ready for review October 27, 2025 16:07
@shenbenson shenbenson requested a review from a team as a code owner October 27, 2025 16:07
@shenbenson shenbenson enabled auto-merge October 27, 2025 18:02
Copy link
Contributor

@starfy84 starfy84 left a comment

Choose a reason for hiding this comment

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

LGTM

@shenbenson shenbenson merged commit 29ebad7 into master Oct 27, 2025
6 checks passed
@shenbenson shenbenson deleted the dx-2181-fix-empty-object branch October 27, 2025 19:14
@github-actions
Copy link

🎉 This PR is included in version @api-ts/[email protected] 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants