acacode / acacode/swagger-typescript-api

Any way to keep interface property in the same order

未关闭
#151 11 条评论 0 个 reaction 已指派 1 人 已被 @js2me 认领 在 GitHub 查看
bug good first issue help wanted
主要语言
TypeScript
星标
4.1k
派生
436
PR 合并指标
30 天内没有已合并 PR

描述

Hey,

We commit the generated API code to follow change through our stories. It's good but the order of each interface change at each generation.

First generation:
```
interface A {
b: string;
c: string;
}
```
second generation:
```
interface A {
c: string;
b: string;
}
```

There is a way to keep order? Something like alphabetical order?

Thx.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。