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

TS -> OAPI - ignores interfaces inheritance #35

Closed
viters opened this issue Mar 20, 2023 · 0 comments
Closed

TS -> OAPI - ignores interfaces inheritance #35

viters opened this issue Mar 20, 2023 · 0 comments

Comments

@viters
Copy link

viters commented Mar 20, 2023

Given the following typescript file:

interface A {
    a: string;
}


interface B extends A {
    b: string;
}

OpenAPI will show only b property on type B. The below example does not work as well:

type B = A & {
    b: string;
};

Can be related to #15

@viters viters changed the title TS -> OAPI - ignores extends on interfaces TS -> OAPI - ignores interfaces inheritance Mar 20, 2023
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