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

Fixed support for oneOf and anyOf to produce the right result for C# classes #1228

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Aug 11, 2020

  1. Fixed AnyOf and OneOf not showing in the ActualProperties member, as …

    …they should be collected in there or we get nothing in the output.
    
    Also no idea why we are returning the schema for the first non-nullable oneOf entry, as that is completely wrong and will not allow oneOf to work correctly even with nullable entries?
    
    Added unit tests.
    kendallb committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    aa47928 View commit details
    Browse the repository at this point in the history
  2. Allow for duplicate properties for oneOf, allOf and anyOf as long as …

    …the underlying type is the same. That is the only viable way to represent that kind of type in C#.
    kendallb committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    30a0c95 View commit details
    Browse the repository at this point in the history
  3. Included inherited properties for anyOf and oneOf because we cannot u…

    …se inheritance here and we end up with empty request/response classes.
    kendallb committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    93a604f View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Configuration menu
    Copy the full SHA
    0a056a7 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    e66b1ff View commit details
    Browse the repository at this point in the history