Skip to content

Conversation

@ekorenblum-simtlix
Copy link
Contributor

DX-376

OpenAPI spec doesn't allow $ref properties to have siblings (see here), so they're wrapped in an 'allOf' array

Old behavior

propertyName:
  nullable: true
  $ref: '#/components/schemas/Foo'

New bahavior

propertyName:
  nullable: true
  allOf: 
    - $ref: '#/components/schemas/Foo'

…rray

OpenAPI spec doesn't allow $ref properties to have siblings, so they're wrapped in an 'allOf' array
@ekorenblum-simtlix ekorenblum-simtlix requested a review from a team as a code owner May 7, 2024 16:51
@bitgopatmcl bitgopatmcl merged commit b4d0fec into master May 7, 2024
@bitgopatmcl bitgopatmcl deleted the DX-376-wrap-ref-in-allOf branch May 7, 2024 17:25
@github-actions
Copy link

github-actions bot commented May 7, 2024

🎉 This PR is included in version @api-ts/openapi-generator@3.6.1 🎉

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

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jun 4, 2024

🎉 This PR is included in version @api-ts/express-wrapper@1.0.26 🎉

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

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jun 4, 2024

🎉 This PR is included in version @api-ts/superagent-wrapper@1.2.1 🎉

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

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jun 4, 2024

🎉 This PR is included in version @api-ts/typed-express-router@1.1.6 🎉

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

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Aug 5, 2024

🎉 This PR is included in version @api-ts/io-ts-http@3.1.0 🎉

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