Skip to content

Can't put all generated classes in a single file #444

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

Open
aviv-nino opened this issue Feb 27, 2025 · 1 comment
Open

Can't put all generated classes in a single file #444

aviv-nino opened this issue Feb 27, 2025 · 1 comment

Comments

@aviv-nino
Copy link

Can't find how to generate classes inside a single file.

For example

{
  "bars": [
      {
        "barz": "string"
      }
  ]
}

would create this file:

data class Foo(
  val bars: List<Bar>
)

data class Bar(
  val barz: String
)
@wuseal
Copy link
Owner

wuseal commented Mar 14, 2025

You can create a file and then alt+k to generate the code in editor page ,then it will generate into sjngle file

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

2 participants