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

653 Коммитов

Автор SHA1 Сообщение Дата
Sergey Shandar 738fa8fc90
Updage z-schema (#380)
* Handle `text-matches` in suppression.

* openapi-markdown 0.7.3

* update z-schema

* changelog

* Issue # 381

* Issue # 381
2019-01-25 11:03:49 -08:00
Sergey Shandar ca3d3c88de
Handle `text-matches` in suppression. (#378)
* Handle `text-matches` in suppression.

* openapi-markdown 0.7.3
2019-01-22 11:46:45 -08:00
Sergey Shandar 3b13b883d5
Update JSON types. (#376) 2019-01-15 16:11:52 -08:00
Vlad Barosan c2c858da20
Simplify error property names (#375) 2019-01-15 10:16:13 -08:00
Sergey Shandar cf41d9cb49
OAV shouldn't fail on examples which contain "$schema" properties. (#374)
* examples as functions

* revert minor changes.

* address comments.
2019-01-14 16:44:53 -08:00
Sergey Shandar 8e839c6c60
No symbol logging (#372)
* No symbol logging

* changelog

* revert log commenting.
2019-01-09 14:40:48 -08:00
Sergey Shandar 598dfa42ab
Remove ts-node (#371) 2019-01-08 15:03:51 -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 7d0267a651 no default response for non errors (#367)
* Remove generated CloudError

* resolve responses

* unit test

* tests should also check for error code.

* update yasway

* tests for live validation default status code

* yasway 1.4.0

* changelog
2018-12-07 15:04:17 -08:00
billytrend 76b57f4b4a
Adds retry to github request (#363)
* Adds retry to github request

* Changes to node-fetch

* Makes config explicit

* Adds call

* Bumps package

* Adds vfs to parsing

* Removed dependencies

* Removes promise syntax

* Fixes whitespace

* minor comments.

* Bumps version

* Fixes date format 🇬🇧
2018-12-07 12:55:34 -08:00
Sergey Shandar 07ef51260d
Remove generated CloudError (#366)
* Remove generated CloudError

* resolve responses

* unit test

* tests should also check for error code.

* changelog

* 0.10.0, remove package-lock

* shouldModelImplicitDefaultResponse is removed.
2018-12-06 16:11:21 -08:00
Veronica Giaudrone def3719dee Update documentation with missing error code (#364)
* Adding reference documentation for oav model validation

* adding doc for missing error code
2018-12-05 14:45:37 -08:00
Sergey Shandar 75decf2767
Properly handle JSON errors (#362)
* JSON error

* minor

* still need to throw

* prettyPrint for resolveSpec

* InternalError
2018-12-03 11:15:31 -08:00
Sergey Shandar 743ad2c948
update json parser (#361)
* Update JSON parser to handle UNICODE escape sequences.

* 0.9.6
2018-11-29 14:08:54 -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 ea6083863d
Improve error message (#359)
* improve error message

* changelog

* internal error
2018-11-28 11:43:11 -08:00
Veronica Giaudrone 4d269e2fe7 Update doc to add error code which wasn't captured (#358)
* Adding reference documentation for oav model validation

* adding new error doc
2018-11-27 17:22:48 -08:00
Sergey Shandar e46a917763
Use `z-schema`. (#357) 2018-11-26 11:00:52 -08:00
Sergey Shandar b240fe2c68
Remove `rewire`. (#356)
* Remove `rewire`.

* changelog
2018-11-21 20:24:42 -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 89647dbdf2
fix type errors (#354)
* type script error fix.

* better model validation errors.

* Improve error types
2018-11-19 14:46:43 -08:00
Sergey Shandar 77f719dcdf
Fix for suppressions. (#353)
* Fix for suppression.

* minor

* iterator 0.1.1

* live validation test fix.

* Changelog.

* `where` and `from`
2018-11-16 14:47:04 -08:00
Sergey Shandar 74a8db6e6c
Fix for examples in spec. (#352)
* clouderror source map

* 0.7.15

* additional checks.

* generating cloud error

* additional tests

* fix for inline examples

* changelog

* 0.8.0

* lock

* remove useless checks

* address comments

* more comments.
2018-11-15 17:04:07 -08:00
Sergey Shandar d6eac3c69d
swagger definition update & remove dead code (#351)
* cloud error tests

* new swagger definition

* simple semantic validation
2018-11-08 16:36:39 -08:00
Sergey Shandar 945f32092c
update status badge to Azure DevOps. (#350) 2018-11-06 10:26:20 -08:00
Sergey Shandar c65d4ffc3c
No travis-CI (#348)
* No travis-CI

* test reporters

* minor
2018-11-01 15:59:56 -07:00
Sergey Shandar cb4a05e091
azure-pipelines (#347)
* azure-pipelines

* fix
2018-11-01 11:34:22 -07:00
Sergey Shandar 705157a9ab
switch from `@ts-common/azure-openapi-markdown` to `@azure/openapi-markdown`. (#346) 2018-10-23 16:56:21 -07:00
Sergey Shandar f918ba1860
Exported functions don't catch exceptions. (#343)
* Exported functions don't catch exceptions.

* remove suppression-bugs.md

* copyright.

* no run.cmd

* unit test
2018-10-18 14:07:49 -07:00
Sergey Shandar c6b3b9bed2
Provide schema information for all Schema Objects. (#341)
* update all schema objects

* 0.7.10

* changelog

* unit test

* address comments
2018-10-15 16:29:12 -07: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 f097b08ff4
update changelog (#337) 2018-10-10 10:59:43 -07:00
Sergey Shandar 11fd7095dc
Update packages. (#336) 2018-10-09 10:25:11 -07:00
Sergey Shandar 7ed2e905e5 another fix. (#335) 2018-10-08 17:29:57 -07:00
Sergey Shandar 2fc25411ed
Reading file from HTTPS (#334) 2018-10-08 16:05:29 -07:00
Sergey Shandar 9f268206fe
fix find readme (#333)
* replace `findReadMe` file.

* get suppressions from HTTPS

* changelog
2018-10-08 12:27:16 -07:00
Sergey Shandar eca7ad99f5 Sergey/source map dtss (#331)
* source-map 0.2.11

* source file
2018-10-03 16:56:50 -07:00
Sergey Shandar 2a3249922e
suppress promise rejection (#330) 2018-10-03 10:11:07 -07:00
Sergey Shandar b12d59ed52
Fix URL encoding test. (#329) 2018-10-02 13:38:39 -07:00
Sergey Shandar 4add21a51a
Fix yasway (#327) 2018-10-02 11:22:43 -07:00
Sergey Shandar 676912381e
New suppression API (#326)
* New suppression API

* update

* createDummy() is removed.
2018-10-01 17:51:07 -07:00
Sergey Shandar 8c3786ccf4
Suppression support for `from` field. (#324)
* assignOptional

* handle path

* handle "from"

* 0.6.5

* `where` implementation

* address comments

* more comments.

* remove assignOptional
2018-09-28 11:20:39 -07:00
Sergey Shandar 2a68bde234
fix .d.ts mapping (#323) 2018-09-26 14:20:05 -07:00
Sergey Shandar 2f90b77417
Source Map (#322) 2018-09-25 17:18:31 -07:00
Sergey Shandar 25f17f7cfa Fix for `resolve-spec` CLI #320 (#321) 2018-09-25 13:19:56 -07:00
Sergey Shandar 0a7acc96f0
semantic validation bug fix (#319)
* semantic validation bug fix

* minor
2018-09-25 10:44:00 -07:00
Sergey Shandar c31480764b
Suppression. No `where` support yet. (#317)
* read markdown file.

* suppressions

* supression object

* Return suppressions

* update package-lock.

* prettyPrint() function

* processErrors()

* pass suppression

* where is not implemented yet

* changelog

* TODO:

* resolve conflicts

* switch back to z-schema

* Suppression test

* comments
2018-09-24 16:21:14 -07:00
Veronica Giaudrone b41b253b1b Fix semantic result in validate spec instead of editing afterwards (#318)
* Adding reference documentation for oav model validation

* correcting where url and position get added in the error result

* adding changelog and updating oav version
2018-09-21 16:42:46 -07:00
Veronica Giaudrone b6dab0f577 Semantic errors source (#316)
* Adding reference documentation for oav model validation

* adding url and position information to semantic validation errors

* updating package.json

* adding changelog
2018-09-19 17:39:46 -07:00
Veronica Giaudrone fcfbef76ab Pretty printing for semantic errors (validate-spec command) (#315)
* Adding reference documentation for oav model validation

* adding pretty printing to validate-spec command

* adding changelog
2018-09-19 14:37:07 -07:00