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
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
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
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
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
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
Sergey Shandar
43d4fbe615
Fix for x-ms-examples extractor ( #314 )
...
* Suppression Design
* Update swagger-parser
* test files for extracting x-ms-examples
* Remove dead code.
* reproducing errors.
* Remove errors.
* 0.5.10
* address comments.
2018-09-18 11:49:56 -07:00
Sergey Shandar
89adda705c
@ts-common/z-schema ( #310 )
2018-09-11 13:35:30 -07:00
Sergey Shandar
5f43b2db45
Fix for special symbols inside JSON-Pointer/Reference ( #308 )
...
* test for nested properties with `@` character.
* update json-refs.
* fix JSON-Pointer
2018-09-10 17:01:55 -07:00
Sergey Shandar
5417eec6d6
Errors have optional `jsonUrl` and `jsonPosition` fields. ( #306 )
...
* sm.isEmpty
* Fix error
* first test
* changelog, yasway
* bug
* commented code
* tslint
* fix
* remove dead code
* merge
* minor
* readonly
* simplified
* address comments
* description in ResponseObject
* sample position
* schema
* path to error
* update of source-map
* update z-schema and yasway
* update package
* changelog
* minor
* address comments
* tests
* bug fix
2018-08-28 15:13:12 -07:00
Sergey Shandar
88160960ef
Proper fix for cloudError ( #305 )
...
* sm.isEmpty
* Fix error
* first test
* changelog, yasway
* bug
* commented code
* tslint
* fix
* remove dead code
* merge
* minor
* readonly
* simplified
* address comments
2018-08-23 13:55:38 -07:00
Sergey Shandar
299cc866be
Fix for CloudError ( #304 )
...
* sm.isEmpty
* Fix error
* first test
* changelog, yasway
* bug
* commented code
2018-08-22 14:32:01 -07:00
Sergey Shandar
8a0ffce1cc
Simplified object information. No `cloneDeep` from `lodash` ( #303 )
...
* new info structure (using functions)
* no upgrade for yassway
* version and changelog
* merge signature improved
2018-08-22 10:22:47 -07:00
Sergey Shandar
811f549921
friendly nested names ( #299 )
...
* friendly names
* generated name
2018-08-21 17:52:41 -07:00
Sergey Shandar
4fc35d48c6
Fix for `file` in `schema` ( #298 )
...
* minor
* remove `json-source-map`
* don't resolve "file" schemas
* downgrade json-refs
* style
* 0.5.2
2018-08-21 15:11:30 -07:00
Sergey Shandar
4f1ddb3c45
Passing object information using title ( #297 )
...
* minor
* send error information using title
* update line and column
* Logging
* remove extra `errorsAddFileInfo`
* remove import
2018-08-19 11:30:54 -07:00
Sergey Shandar
9aee77ea67
File info in errors ( #296 )
...
* package update
* minor
* first transformation
* remove keys/entries
* clean-up
* update yasway
* changelog
* error processing experiment
* file info in errore
* 0.5.0
2018-08-17 15:32:19 -07:00
Sergey Shandar
23f0d59e00
Replacing transformation functions to work with source-map ( #294 )
...
* package update
* minor
* first transformation
* remove keys/entries
* clean-up
* update yasway
* changelog
2018-08-17 01:22:53 -07:00
Vlad Barosan
749c8e64ac
No Nesting for non-discriminator errors ( #295 )
2018-08-16 18:55:58 -07:00
Vlad Barosan
1f24493dc3
Add unique array errors ( #293 )
...
* Add unique array errors
* Lint fixes
* Add test for similar paths on serialized errors
2018-08-15 10:50:16 -07: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
Vlad Barosan
875b75a0c0
Single discriminator error ( #291 )
...
* Single discriminator error
* Add badges to readme
2018-08-10 21:23:12 -07:00
Vlad Barosan
d9297da9b0
Use json pointer for schema title ( #290 )
2018-08-10 16:57:28 -07:00
Vlad Barosan
f1990b98b2
Add property name as schema title ( #289 )
2018-08-10 14:04:08 -07:00
Vlad Barosan
fbefba5149
Insert title to schema ( #287 )
2018-08-08 15:51:46 -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
Vlad Barosan
2e59377b8e
Fix security vulnerabilities ( #281 )
...
* Update dependencies to solve security vulnerabilities
* Add Prettier
* Update version and changelog
2018-07-25 17:55:59 -07:00
Sergey Shandar
0b6e835553
Export more types ( #278 )
...
* ValidationResult
* processValidationErrors
* BaseValidationError
* changelog
2018-07-20 10:35:59 -07:00
Sergey Shandar
7ac09ebe6b
yasway update ( #277 )
...
* yasway update
* no npm dependency
* changelog
2018-07-19 15:32:36 -07:00
Sergey Shandar
8e3eac69f5
Bug fix: `scenarios is undefined` when running AutoRest plugin ( #276 )
...
* reproduce "scenarios is undefined" error
* Bug fix: `scenarios is undefined` when running AutoRest plugin
2018-07-18 13:47:23 -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
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
5bfc9951a1
Error serializer. ( #269 )
...
* Resolve nested Schema Objects
* npm run cli
* errors.
* Error serialization
* simplify initialization.
* minor
2018-07-06 10:37:48 -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
9fc199ef5c
Resolve nested Schema Objects ( #268 )
2018-06-29 15:30:59 -07:00
Vlad Barosan
3cd7940ae6
Do BOM stripping for remote URL's ( #267 )
2018-06-26 16:37:53 -07:00
Vlad Barosan
2e4a5ac0d5
Move to yasway
2018-06-20 16:44:53 -07:00