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

25 Коммитов

Автор SHA1 Сообщение Дата
raychen 8815d179d1 Release 2.0.0 version 2020-11-24 11:07:36 +08:00
Wenhao Zhang 6eafef4e1d
New function getErrorsFromSemanticValidationForUnifiedPipeline (#533)
* Revert "Update function getErrorsFromSemanticValidation to extract inner error correctly (#530)"

This reverts commit cd3896e62c.

* New function for unified pipeline to extract semantic validation inner error.

* export serializeErrorsForUnifiedPipeline

Co-authored-by: t-zhangw <codespace@72c482c53b75>
2020-09-07 13:59:10 +08:00
Wenhao Zhang d7f69d59cf
Export more methods from oav for validation in unified pipeline (#523)
* Export more methods from oav for validation in unified pipeline

* minor

* add change log and bump version

Co-authored-by: t-zhangw <codespace@72c482c53b75>
2020-08-14 15:56:26 +08:00
Vlad Barosan 0b4dda3a6c
Pass error filter (#412)
* Update typescript version to 3.4.1 and fix compiler errors

* update sway deps and pass error filter

* Update openapi-markdown

* Update changelog

* Update deps

* use chaining
2019-04-05 16:06:04 -07:00
Eric Williams 28a6b1a38d Adding missing exports to index.ts (#411)
* Adding missing exports to index.ts

* Fixes per feedback

* Fixes per feedback
2019-04-05 13:41:49 -07:00
Vlad Barosan 7c49309fdc
Allow to specify specific validation errors to include in results (#406)
* Allow to specify specific validation errors to include in results

* Address feedback

* remove duplication
2019-03-29 11:12:10 -07:00
Vlad Barosan 44a19e34a8
Seperate request response (#405)
* Refactor and seperate validate method

* re-use seperate validations

* refactoring

* use globby instead of glob sync

* mark that is a breaking change

* new return types

* Add snapshot tests

* Add snapshot tests for live validation

* Add option for relative source location url

* Add severity

* Don't expose get operations externally anymore
2019-03-28 11:47:48 -07:00
Vlad Barosan 21d90189f5
Enforce linting and styling (#399)
* Auto fixes for oav lintining issues

* Extra fixes

* Update changelog

* Increment package version

* Extra auto fix for line lengths
2019-03-08 15:38:37 -08:00
Vlad Barosan 15e1157efd Remove global cache (#393)
* Remove global cache

* update/remove unusued dependencies and increment package version

* Remove unusued imports

* Fix lint errors
2019-03-06 10:05:37 -08:00
Veronica Giaudrone bf8fbfaf09
Update export (#369)
* Adding reference documentation for oav model validation

* updating to export NodeError

* updating oav version
2018-12-11 11:14:55 -08:00
Sergey Shandar 357bdb0def
Suppress errors in suppression readme (#360)
* improve error message

* changelog

* something strange

* fix jp bug

* 0.9.5

* change-log

* catch jsonpath exceptions.

* changelog.

* Test
2018-11-28 16:37:48 -08:00
Sergey Shandar 2fd0a562ee
getErrorsFromSemanticValidation() (#355)
* getErrorsFromSemanticValidation()

* minor

* 0.9.2

* minor

* 0.9.3

* 0.9.1-3

* 0.9.1
2018-11-20 13:33:06 -08:00
Sergey Shandar 87922a8f56
Source Map for generated objects. (#339)
* update changelog

* Update

* clearCache()

* Fix suppression errors.

* remove unused function

* fix compilation errors.

* address comments

* address comments.

* test

* test: errorDetails

* improved source map test
2018-10-12 19:42:35 -07:00
Sergey Shandar 0b6e835553
Export more types (#278)
* ValidationResult

* processValidationErrors

* BaseValidationError

* changelog
2018-07-20 10:35:59 -07:00
Sergey Shandar d0f8fc0833
export types for different tools (#273)
* BaseValidationError

* 0.4.58

* severity

* ModelValidationError

* ValidationResultSource

* enum => union

* import export type

* revert changes in ValidationResultSource

* revert changes

* export getErrorsFromModelValidation

* processValidationErrors

* ValidationError

* errorConstants

* errorCodeToSeverity

* serializeErrors

* 0.4.58
2018-07-16 23:28:07 -07:00
Sergey Shandar bc0c5a3e8e
Remove `@types/winston` (#270)
* Remove @types/winston

* changelog

* package-lock.json

* Winston 3.0.0

* changelog.
2018-07-05 17:48:42 -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 51cc52a4dc
reexport 2018-05-30 13:58:07 -07:00
Sergey Shandar 5f63183acf
more types 2018-05-29 23:53:02 -07:00
Sergey Shandar 51c36fddd1
xMsExampleExtractor 2018-05-29 20:30:11 -07:00
Sergey Shandar 45560412f2
utils 2018-05-29 18:20:42 -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