Skip to content

Commit cad9ec1

Browse files
author
Anton Koshkin
committed
feat: add alOff support
closes #11
1 parent 562b753 commit cad9ec1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/index.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ import { fromNullable, Option } from 'fp-ts/lib/Option';
77
import * as path from 'path';
88
import { ThrowReporter } from 'io-ts/lib/ThrowReporter';
99
import { PathReporter } from 'io-ts/lib/PathReporter';
10-
import { last } from 'fp-ts/lib/Array';
10+
import { head, last } from 'fp-ts/lib/Array';
11+
import { TFileReader } from './fileReader';
12+
import { Right } from 'fp-ts/lib/Either';
13+
import { ValidationError } from 'io-ts';
14+
import * as del from 'del';
15+
import { serialize } from './language/typescript';
1116

1217
const log = console.log.bind(console, '[SWAGGER-CODEGEN-TS]:');
1318

src/language/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
} from '../swagger';
1818
import { directory, file, TDirectory, TFile } from '../fs';
1919
import * as path from 'path';
20-
import { array, catOptions, flatten, head, uniq } from 'fp-ts/lib/Array';
20+
import { array, catOptions, flatten, uniq } from 'fp-ts/lib/Array';
2121
import { getRecordSetoid, Setoid, setoidString } from 'fp-ts/lib/Setoid';
2222
import { fromArray, groupBy, NonEmptyArray } from 'fp-ts/lib/NonEmptyArray';
2323
import {

0 commit comments

Comments
 (0)