acacode / acacode/swagger-typescript-api

Any way to keep interface property in the same order

Aperta
#151 11 commenti 0 reazioni 1 assegnatario Rivendicata da @js2me Vedi su GitHub
bug good first issue help wanted
Lingua principale
TypeScript
Stelle
4.1k
Fork
436
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.