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

[KOTLIN] allOf doesn't generate $ref #12446

Open
Lena-Gadzieva opened this issue Aug 14, 2024 · 0 comments
Open

[KOTLIN] allOf doesn't generate $ref #12446

Lena-Gadzieva opened this issue Aug 14, 2024 · 0 comments

Comments

@Lena-Gadzieva
Copy link

Description

When generating with kotlin-client a class like this:

Cat:
      allOf:
        - $ref: '#/components/schemas/Pet'
        - properties:
            hunts:
              type: boolean
            age:
              type: integer

ignores $ref and only generates attributes from properties

Swagger-codegen version

3.0.61

Related issues/PRs

Similar issue was raised before: #12241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant