acacode / acacode/swagger-typescript-api

Any way to keep interface property in the same order

Abierto
#151 11 comentarios 0 reacciones 1 asignado Reclamado por @js2me Ver en GitHub
bug good first issue help wanted
Lenguaje dominante
TypeScript
Estrellas
4.1k
Forks
436
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.