|
|
> **NOTE**
|
|
|
>
|
|
|
> This page is outdated, and superseded by the full doc site at https://openapi-generator.tech/
|
|
|
---
|
|
|
|
|
|
Sometimes you don't want the codegen to make a model for you--you might want to just include one that already exists in your codebase. Say you already have a `User` object and want to reuse that, which has a different model package from the other generated files:
|
|
|
|
|
|
First, indicate that the class is already included by default. This will keep the codegen from trying to generate the class.
|
... | ... | |