Billy Trend
d2b8a24573
Add amar snapshot changes
2019-05-29 14:37:11 -07:00
Billy Trend
f56370c483
Fix type
2019-05-29 14:24:01 -07:00
Billy Trend
f96ee429bc
Fix type issue
2019-05-29 14:20:58 -07:00
Amar Zavery
dd0cd8cf5c
Adding tests for validating readOnly properties
2019-05-29 12:33:31 -07:00
Amar Zavery
3b1febbb9f
nit fix and test artifact update
2019-05-28 18:17:34 -07:00
Amar Zavery
2c2615f4f6
update cache initialization to Promise.all and update yuml2svg package version
2019-05-28 18:06:53 -07:00
billytrend
2c03e13db1
Add regression suites for validateExamples ( #403 )
2019-05-08 11:39:02 -07:00
Vlad Barosan
74a81b3b2c
Use node env for jest ( #422 )
...
* Use node env for jest
* Fix tslint
2019-04-25 12:19:46 -07:00
Vlad Barosan
0035655d53
Validate request body when object ( #415 )
2019-04-10 21:22:59 -07:00
Vlad Barosan
43fd5dff3c
Report isSuccessful as undefined when there are runtime errors ( #414 )
2019-04-08 15:41:00 -07: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
Sergey Shandar
074347d9f1
fix exit code ( #410 )
...
* fix exit code
* changelog
* minor
* 0.16.1
* Update package.json
* result.length
2019-04-05 14:17:28 -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
5e60e761cb
Report real errors for polymporphic models ( #409 )
2019-04-01 17:30:04 -07:00
Vlad Barosan
ff4748b834
Improve inner error type ( #408 )
...
* Add discriminator test
* Improve inner error type
* Remove example files as they are not needed
* Dont use empty arrays for optional params
2019-04-01 10:59:25 -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
6a1b7816af
Refactor relative references ( #404 )
...
* Refactor resolve relative references and remove unecessary parsing
* Remove unused references from x-ms-examples
* Update changelog and package.json
2019-03-20 15:43:29 -07:00
billytrend
a26e0f3686
Change test runner to jest ( #401 )
...
* Change test runner to jest
* Fix sample
* Revert typescript
* Change output file
* Bump version
2019-03-20 17:46:05 +00:00
Vlad Barosan
8cdb147c43
Don't resolve xms examples for live validation ( #402 )
...
* Don't resolve xms examples for live validation
* Update version and changelog
* Update test string
* keep for semantic
2019-03-19 17:14:21 -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
Sergey Shandar
a493f1b1ec
hot fix ( #400 )
...
* INTERNAL_ERROR
* 0.14.4
2019-03-08 13:28:15 -08:00
Sergey Shandar
052297ec6e
ICE fix. ( #398 )
2019-03-07 16:42:07 -08:00
Vlad Barosan
69ea6923c3
Use one cache validator per SpecValidator ( #396 )
2019-03-06 18:17:16 -08:00
Vlad Barosan
3af1bb91af
Add live validator init time docs cache ( #394 )
2019-03-06 16:39:39 -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
Sergey Shandar
67fb79edbc
fix type for polymorphic objects ( #389 )
...
* fix for polymorphic objects
* more comments.
* unit test
* test fro modelAsString
* discriminator should be required property.
* address comments.
2019-02-14 13:54:39 -08:00
Sergey Shandar
04411ace7f
Fix x-ms-enum as discriminator ( #387 )
...
* Fix x-ms-enum as discriminator
* changelog
* source-map update
* address comments.
* copyright
* jsonRefs comment
2019-02-06 16:14:31 -08:00
Sergey Shandar
41bd80095d
More errors with position and URL ( #383 )
...
* Fix for #379
* changelog
* changelog
* Provide URL and position for more errors.
* address comments.
2019-01-30 16:49:32 -08:00
Sergey Shandar
42517d127d
Fix for #381 and for missing source in `RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE` error
...
* Fix for #379
* changelog
* changelog
* Update specTransformer.ts
* Update specTransformer.ts
2019-01-29 10:32:11 -08:00
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