Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Ruoxuan Wang ff64062a5b
Test scenario main (#599)
Support test scenario and test runner
2021-03-24 16:48:10 +08:00
Phoenix He 150c5e9c7c
Test Scenario Support (#558)
* Support yaml in jsonLoader

* New package
2021-01-18 16:54:38 +08:00
raychen 8815d179d1 Release 2.0.0 version 2020-11-24 11:07:36 +08:00
Sergey Shandar bb66d2c638
Using a JSON parser with a source map (#292)
* responseReducer & scenarioReducer

* toModelErrors

* toModelErrors: map vs reduce

* Iterable

* less reduce functions

* simplified scenarioReducer

* reduce() => map()

* operationId & scenarios

* minor

* stringMap

* stringMap

* no `Unknown`

* remove unused methods

* source-map design review

* strict TypeScript

* remove some any types

* remove `any` type

* no any

* less any

* new JSON parser

* Using JSON parser with a source map

* minor

* minor

* US data style

* address comments

* address comments

* clean jsonParser
2018-08-13 12:16:26 -07:00
Sergey Shandar 8c40042c65
Replacing `reduce` error collections with lazy iterators. (#285)
* responseReducer & scenarioReducer

* toModelErrors

* toModelErrors: map vs reduce

* Iterable

* less reduce functions

* simplified scenarioReducer

* reduce() => map()

* operationId & scenarios

* minor

* 0.4.63

* test for getErrorFromModelValidation
2018-08-01 13:02:47 -07:00
Sergey Shandar 0fc3261523
Simplified errors (using `--pretty` option) (#272)
* Resolve nested Schema Objects

* npm run cli

* errors.

* Error serialization

* simplify initialization.

* minor

* types for validationError

* minor refactoring

* option 'pretty'

* No Node type.

* ported code from openapi-tools

* SemanticValidator and ModelValidator

* a lot

* a lot

* a lot

* better

* consoleLog = off when petty

* yaml

* output to error stream

* 0.57

* some colors

* with reset

* address comments
2018-07-16 13:34:18 -07:00
Sergey Shandar 09d132ea09
More TypeScript 2018-06-08 16:35:55 -07:00
Sergey Shandar 04fef563b9
tslinter 2018-06-01 17:26:20 -07:00
Sergey Shandar 5f63183acf
more types 2018-05-29 23:53:02 -07:00
Sergey Shandar c7ebe28720
imports 2018-05-29 21:33:36 -07:00
Sergey Shandar 555f90b9da
logging 2018-05-29 18:14:35 -07:00
Sergey Shandar a75a0a4d6b
TS improvements 2018-05-29 15:38:27 -07:00
Sergey Shandar 4d04902e6d
JavaScript => TypeScript 2018-05-25 17:18:04 -07:00