Skip to content

Support allOf sibling property required #931

Closed

Description

@Swiftwork

OpenAPI 3.1 supports sibling properties to allOf. It would be very useful if the following schema was supported by the codegen. Now it just ignores the required property.

User:
  required:
    - id
    - firstName
  allOf:
    - type: object
      properties:
        id:
          type: string
    - $ref: '#/components/schemas/UserProperties'

Resolved by #717

Activity

  1. jamietanna commented on Jul 14, 2025

    @jamietanna
    Member

    Thanks for the report - unfortunately right now we do not support OpenAPI 3.1 (#373) but when we do, this is one we'll definitely add support for!

    Related: #863

  2. added this to the v2.8.0 milestone on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions