Skip to content

Conversation

@tatemz
Copy link

@tatemz tatemz commented Sep 20, 2025

Schemas with both direct properties and allOf were only generating code for the allOf properties, completely ignoring direct properties.

Example schema that was broken:

{
  "type": "object",
  "required": ["details"],
  "properties": {
    "details": { "$ref": "#/components/schemas/Details" }
  },
  "allOf": [
    { "$ref": "#/components/schemas/BaseSchema" }
  ]
}

@tatemz
Copy link
Author

tatemz commented Sep 22, 2025

I have had to patch the NPM package in my codebases with this PR and #73. Would love for both of them to make it into the main package. Happy to take any suggestions to get them over the finish line

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.

1 participant