-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Problem with 2-level Inheritance with allOf extensions method #2268
Labels
help-wanted
A change up for grabs for contributions from the community
Comments
martincostello
added
the
help-wanted
A change up for grabs for contributions from the community
label
Apr 14, 2024
We'd be grateful for a PR to resolve this issue. |
bkoelman
added a commit
to bkoelman/Swashbuckle.AspNetCore
that referenced
this issue
Apr 18, 2024
@martincostello Created #2815. |
martincostello
pushed a commit
that referenced
this issue
Apr 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
Swashbuckle.AspNetCore 6.2.3
Classes definition
Service configuration
With these classes the openapi document is different from the one proposed at
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#models-with-polymorphism-support
My output doc:
The
type
,properties
andrequired
properties are not inside theallOff
property of JSON Schema, but at the same level.Trying to create autogenerated client with openapi-generator-cli fails.
If I try the version with all inside the
allOff
property it succeeds.The text was updated successfully, but these errors were encountered: