Skip to content

[BUG] CodegenProperty#isInherited not set right #11845

@devhl-labs

Description

@devhl-labs

Some properties do not have isInherited set correctly. See modules\openapi-generator\src\test\resources\3_0\allOf.yaml Child properties Type, LastName, FirstName will have isInherited set to false when it should be true. This is in csharp-netcore, any library.

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions