-
### Before You File a Proposal Please Confirm You Have Done The Following...
- [X] I have [searched for related issues](https://github.com/typescript-eslint/typescript-eslint/issues?q=is%3Aissue+la…
-
**Package version**
0.22.0
**Describe the bug**
Schema discriminator is not supported: https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/
**To Reproduce**
```yaml…
-
Hello, thank you very much for your work
I am trying to transplant the MB-discriminator to other projects, but the discriminator is very time-consuming during training.
```
if __name__ == "__mai…
-
can we change the specs, so, it can follow the open API specs
instead of having discriminator as string
to follow swagger/openAPI 3 to have it like
discriminator:
propertyName: type
…
-
See OpenAPI docs https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism. This would be helpful with APIs that have a large number of possible request/response pairs that need t…
-
Hi! thank you very much for your work and your script seems great, however would it be possible to have an explanation on the gen_loss generated with the discriminator, i don't understand why gen_loss…
-
In the context of Polymorphism there are cases where the discriminator could have multiple values pointing to the same object
```
CommunicationChannel:
type: object
oneOf:
-…
-
### Description
Given this OpenApi schema yaml
```yaml
components:
schemas:
FrontofficePageBlock:
oneOf:
- $ref: '#/components/schemas/FrontofficePageBlockLinkWithIconBloc…
-
There is a scenario in swagger world that we could have the types as following:
```
@discriminator("kind")
model Base {
kind: string;
}
model A extends Base {
kind: "A";
}
model B…
-
When serializing a derived type as its base type, System.Text.Json will use an extra type discriminator field to communicate the actual type of the serialized data. Given a base class `Base` and a der…