Evgeny Poberezkin
|
d64b84f5ff
|
Merge branch 'master' into 4.2
|
2016-07-22 15:00:44 +01:00 |
Evgeny Poberezkin
|
ac5c746f0a
|
Revert "Revert "feat: meta schema for custom keywords schemas, closes #230""
This reverts commit 09879d21ad .
|
2016-07-22 14:49:43 +01:00 |
Evgeny Poberezkin
|
5a80c7cff6
|
feat: support meta-schema validation in custom keywords with $data support, #146
|
2016-07-22 14:25:41 +01:00 |
Evgeny Poberezkin
|
f06008a84f
|
fix: error when mutually recursive fragment refs reference a common schema, closes #240
|
2016-07-22 00:37:35 +01:00 |
Evgeny Poberezkin
|
09879d21ad
|
Revert "feat: meta schema for custom keywords schemas, closes #230"
This reverts commit 1a6e4b576c .
|
2016-07-18 18:51:57 +01:00 |
Evgeny Poberezkin
|
1a6e4b576c
|
feat: meta schema for custom keywords schemas, closes #230
|
2016-07-17 11:20:47 +01:00 |
Evgeny Poberezkin
|
2bcb74fc8c
|
fix: support mutual recursive refs when both refs are schema fragments, closes #210
|
2016-07-10 18:36:09 +01:00 |
Evgeny Poberezkin
|
84e8782605
|
rename property "async" of asynchronous validation function to "$async" for meteor compatibility, #151, #159
|
2016-04-10 20:17:06 +01:00 |
Evgeny Poberezkin
|
69d897f31a
|
fix errorsTexts
|
2016-03-23 23:25:54 +00:00 |
Evgeny Poberezkin
|
503b427b7f
|
eslint no-trailing spaces
|
2016-02-26 20:25:15 +00:00 |
Evgeny Poberezkin
|
c62c6452aa
|
eslint: no-console
|
2016-02-04 22:36:12 +00:00 |
Evgeny Poberezkin
|
5c8e32dffc
|
eslint: no-shadow, no-invalid-this
|
2016-02-04 22:24:59 +00:00 |
Evgeny Poberezkin
|
89a5ce76f9
|
eslint; code style
|
2016-02-02 18:55:02 +00:00 |
Evgeny Poberezkin
|
0ecd3eaa13
|
change async/transpile options
|
2016-01-31 22:07:19 +00:00 |
Evgeny Poberezkin
|
86d97d4337
|
async options, expose Ajv.ValidationError class
|
2016-01-30 22:13:00 +00:00 |
Evgeny Poberezkin
|
6e583554a1
|
async with nodent transpiler
|
2016-01-29 09:26:11 +00:00 |
Evgeny Poberezkin
|
98c9c195aa
|
references to async schemas
|
2016-01-27 23:43:28 +00:00 |
Evgeny Poberezkin
|
002c99311f
|
use regenerator to transpile asynchronous validation functions if generators are not supported, #40
|
2016-01-26 23:56:38 +00:00 |
Evgeny Poberezkin
|
0729d6d19d
|
async schemas and async formats using generators, #40
|
2016-01-25 06:37:36 +00:00 |
Evgeny Poberezkin
|
27bd49f182
|
renamed opts property of ajv instance to _opts; options object passed to constructor is copied
|
2016-01-25 06:37:36 +00:00 |
Evgeny Poberezkin
|
0b725bbc31
|
"default" keyword in "properties" subschemas, #42
|
2016-01-09 01:07:33 +00:00 |
Evgeny Poberezkin
|
2eef59dede
|
minified browser bundle
|
2015-12-27 21:33:07 +00:00 |
Evgeny Poberezkin
|
694e81684f
|
throw exception if custom keyword is not an identifier; update tests as macro keyword definition supports type
|
2015-12-26 23:04:45 +00:00 |
Evgeny Poberezkin
|
c4786866e2
|
simplify compiling macro keywords
|
2015-12-26 22:27:13 +00:00 |
Evgeny Poberezkin
|
abff815d38
|
refactored schema compilation to reduce browser bundle size
|
2015-12-23 01:50:11 +00:00 |
Evgeny Poberezkin
|
1c5be913b6
|
correctly report schema path, #80
|
2015-12-19 10:52:39 +00:00 |
Evgeny Poberezkin
|
65e534ee8b
|
check/extend errors in inline custom keywords; tests for custom keywords creating errors
|
2015-11-21 23:12:03 +00:00 |
Evgeny Poberezkin
|
ee450ec8d0
|
removed caching of compiled subschemas of custom keywords (it made performance worse in most cases)
|
2015-11-17 23:20:12 +00:00 |
Evgeny Poberezkin
|
ae5b4c0f45
|
support for "inline" custom keywords, #69
|
2015-11-17 23:20:12 +00:00 |
Evgeny Poberezkin
|
87292f80ea
|
validate schemas generated by macro keywords
|
2015-11-17 23:20:12 +00:00 |
Evgeny Poberezkin
|
18c1ef858c
|
support for "macro" custom keywords, #69
|
2015-11-17 23:20:11 +00:00 |
Evgeny Poberezkin
|
285850ce20
|
pass parent schema to compile/validate functions of custom keywords if they use it, #69
|
2015-11-17 23:17:59 +00:00 |
Evgeny Poberezkin
|
5e45d4eadf
|
support compiling schemas in custom keywords, #69
|
2015-11-17 23:17:59 +00:00 |
Evgeny Poberezkin
|
fcc776e794
|
basic implementation of custom keywords, #69
|
2015-11-17 23:17:59 +00:00 |
Evgeny Poberezkin
|
70844207cf
|
fixed resolution scope change - changing folder in subschema, closes #62
|
2015-10-25 01:03:19 +01:00 |
Evgeny Poberezkin
|
cc8de5bb8e
|
tests for inlined schemas, #6
|
2015-08-23 21:17:11 +01:00 |
Evgeny Poberezkin
|
69bc41a38c
|
optimised access to compiled/inlined referenced schemas
|
2015-08-23 13:27:05 +01:00 |
Evgeny Poberezkin
|
f3b65f4a58
|
Merge branch 'master' into inline
|
2015-08-23 12:04:38 +01:00 |
Evgeny Poberezkin
|
843557e03f
|
optimised regexps to create them during compile time, reuse regexp instances
|
2015-08-22 23:57:16 +01:00 |
Evgeny Poberezkin
|
d8d59ed352
|
inline refs with all keywords but "$ref"
|
2015-08-21 22:52:29 +01:00 |
Evgeny Poberezkin
|
7d0c6d1d25
|
inline simple refs, #6
|
2015-08-19 22:54:05 +01:00 |
Evgeny Poberezkin
|
cfec9e3fb3
|
removed unused it.dataPath, related to #32
|
2015-08-19 00:31:19 +01:00 |
Evgeny Poberezkin
|
982cfab809
|
removed unused code
|
2015-08-16 02:11:00 +01:00 |
Evgeny Poberezkin
|
eeb1307448
|
jshint "validthis" option
|
2015-08-11 19:24:31 +01:00 |
Evgeny Poberezkin
|
1b8c922ebc
|
preserve roots during ref resolution, closes #27
|
2015-08-08 19:06:51 +01:00 |
Evgeny Poberezkin
|
41ed37f36f
|
resolves recursive schema issue #27, breaks test for issue #13, raml schema has regex issue
|
2015-08-08 12:21:41 +01:00 |
Evgeny Poberezkin
|
a0c342c58f
|
fixed resolving recursive references, closes issue #27
|
2015-08-07 01:54:07 +01:00 |
Evgeny Poberezkin
|
1cbcade81f
|
fixed #1 IDs in refs without root id
|
2015-06-24 01:28:40 +01:00 |
Evgeny Poberezkin
|
853ed64bf9
|
prevent including js-beautify in the browser
|
2015-06-22 14:40:25 +01:00 |
Evgeny Poberezkin
|
4e1f0e54c4
|
prevent possible issues like #13
|
2015-06-19 00:59:53 +01:00 |