mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
7 lines
200 B
TypeScript
7 lines
200 B
TypeScript
import { Model } from '../client/interfaces/Model';
|
|
import { sort } from './sort';
|
|
|
|
export function getModelNames(models: Model[]): string[] {
|
|
return models.map(model => model.name).sort(sort);
|
|
}
|