Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve display of schemas with mutually-exclusive required properties #79

Merged
merged 1 commit into from
Feb 6, 2024

Commits on Feb 6, 2024

  1. Improve display of mut.-exclusive required props

    - Assume the pattern
      ```yaml
      allOf:
        - oneOf:
            - required:
                - ...
            - ...
        - if:
            required:
                - ...
          then:
            ...
        - ...
      ```
      to be the canonical form for ethdebug/format schemas to represent the
      concept of schemas that are defined with different subschemas
      depending on which set of mutually-exclusive required properties are
      included
    
    - Detect this pattern
    
    - Display it with custom wording instead of the default
      docusaurus-json-schema-plugin presentation of `allOf`s and such
    gnidan committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    1af44fd View commit details
    Browse the repository at this point in the history