Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Better way to resolve allOf #165

Open
cebe/php-openapi
#208

Description

@SOHELAHMED7

Though PR SOHELAHMED7#30 and SOHELAHMED7#14 fixes corresponding issues, we need a more proper way for how allOf is resolved.

This can be part of this lib or cebe/php-openapi.

Activity

  1. SOHELAHMED7 commented on Apr 25, 2024

    @SOHELAHMED7
    ContributorAuthor

    More specifically if the property have reference.

    Example:

    invoice:
              allOf:
                - $ref: '#/components/schemas/Invoice'
                - x-faker: false
                # - nullable: true
    
    
    user_2:
                allOf:
                  - $ref: '#/components/schemas/User'
                  - x-fk-on-update: CASCADE
                  - x-fk-on-delete: SET NULL
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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions