acacode / acacode/swagger-typescript-api

Any way to keep interface property in the same order

Open
#151 11 comments 0 reactions 1 assignee Claimed by @js2me View on GitHub
bug good first issue help wanted
Dominant language
TypeScript
Stars
4.1k
Forks
436
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.