Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is there a way to create only the types?#2008

Unanswered
raky291 asked this question inQ&A
Discussion options

I would like to know if it is possible to create only the types (Interfaces, Enums) and preserve the origial names from OpenAPI, is that possible?

I know it creates types in the following way:

type MyType = components["schemas"]["MyType"];

But I'm looking for it to create types directly (also enums) and preserve the original name.

You must be logged in to vote

Replies: 1 comment

Comment options

I realised this has been supported for a long time after the merge of this PR#1876
Add this flag to the command--root-types --root-types-no-schema-prefix

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@raky291@nahasco

[8]ページ先頭

©2009-2025 Movatter.jp