Amar Zavery
6b7f32bfcb
pop array indexes too if they were pushed.
2017-04-10 08:22:01 -07:00
Amar Zavery
1b572a8eca
feature add for arrays
2017-04-08 09:44:09 -07:00
Amar Zavery
bc61546c95
resolving polymorphic types for complex object (minus arrays)
2017-04-07 20:40:47 -07:00
Amar Zavery
5450c20c04
Merge pull request #1 from vishrutshah/escape-round-bracket
...
Escape ( & ) from url before constructing regex
2017-04-06 17:07:29 -07:00
Vishrut Shah
4d557aa191
Escape ( & ) from url before constructing regex
2017-04-06 14:54:30 -07:00
Amar Zavery
8de7212113
use schemaPath to validate sub-schemas in swagger
2017-01-31 20:17:37 -08:00
Jeremy Whitlock
cbc1dd184a
Do not version VS Code files
2016-12-22 20:15:11 -07:00
Lukas Spieß
4c63138d93
Use definitionsFullyResolved to look up consumes/produces
...
Use definitionsFullyResolved when lookup up consumes/produces properties
* Add .DS_Store to .gitignore
* Run test-operation on swagger-relative-refs.yaml
* Fix test for relative references support
Fixes #92
2016-12-22 20:13:33 -07:00
Jeremy Whitlock
ec8e11ff85
Merge pull request #113 from TheToolbox/master
...
Attempting to add Typings
2016-12-13 15:04:38 -07:00
Toolbox
62c1d145c3
Attempting to add Typings
2016-12-07 21:02:30 -05:00
Jeremy Whitlock
2a7e521374
Merge pull request #104 from TheToolbox/master
...
Updating z-schema
2016-09-21 10:14:05 -06:00
Toolbox
534ad59ae3
Updating z-schema
2016-09-20 23:25:10 -04:00
Jeremy Whitlock
e53e529dc4
Merge pull request #80 from WangBoxue/master
...
upgrade json-schema-faker to 0.3.2
2016-05-16 10:41:11 -06:00
wangboxue
75966f561d
upgrade json-schema-faker to 0.3.2
2016-05-13 17:39:08 +08:00
Jeremy Whitlock
59e9b1f1b5
v1.0.0
2016-04-04 16:12:13 -06:00
Jeremy Whitlock
7c6e7f8337
Preparing for release
2016-04-04 16:12:00 -06:00
Jeremy Whitlock
1acdfd0112
Support mixed-case header names
...
Fixes #67
2016-04-04 15:56:38 -06:00
Jeremy Whitlock
a3d8783001
Do not stop on first JSON Schema validation error
...
Fixes #63
2016-04-04 14:57:22 -06:00
Jeremy Whitlock
9e40471e0f
Merge pull request #70 from SandyChapman/master
...
Always validate date and date-time strings before converting to...
2016-04-04 11:30:32 -06:00
Sandy Chapman
670a05fc97
Always validate date and date-time strings before converting to a JavaScript Date object. Added unit test coverage for a wider sampling of valid and invalid dates and date-times.
2016-04-01 15:25:59 -03:00
Jeremy Whitlock
66a86ad09b
Updated dependencies
2016-03-23 11:54:40 -06:00
Jeremy Whitlock
a6dcb68be6
Merge pull request #69 from ghermeto/master
...
fix issue with encoded slashes in path
2016-03-23 10:18:40 -06:00
Guilherme Hermeto
1b7acd9743
fix issues with encoded slashes in path
...
path variables with encoded slashes were failing because the URI
component were being decoded too soon. Added test to verify fix.
2016-03-23 00:57:10 -07:00
Jeremy Whitlock
460d8613c4
Updating browser builds for PR merge
2016-02-29 14:05:15 -07:00
Jeremy Whitlock
bd588dc110
Merge pull request #64 from APIs-guru/master
...
Small cleanups
2016-02-29 13:55:25 -07:00
Ivan Goncharov
4aade81430
Use 'swagger-methods' package to get list of HTTP verbs
2016-02-27 05:51:55 +02:00
Ivan Goncharov
6a269df094
Switch to using official Swagger schema package
2016-02-25 22:29:48 +02:00
Ivan Goncharov
bfd6c24f2a
Remove outdated copy of Draft-04 schema.
...
z-schema already add this schema, see:
https://github.com/zaggino/z-schema/blob/master/src/ZSchema.js#L68-L69
+ it was outdate, see:
ebd207685a
2016-02-25 22:29:48 +02:00
Ivan Goncharov
35589c644f
Update dependencies
2016-02-25 22:29:39 +02:00
Ivan Goncharov
d01e5081d0
README: replace absolute links
2016-02-25 18:57:48 +02:00
Jeremy Whitlock
9e063f9302
Fix Path#getOperation not handling uppercase method
2016-02-13 14:10:09 -07:00
Jeremy Whitlock
c057f210de
Pass through `params` and `schemaId` for validation errors
...
We've always normalized JSON Schema errors provided by z-schema but this
is unnecessary and in some cases not wanted. This change will no longer
remove the `params` property of a validation error and will only remove
the `schemaId` property if its value is `undefined`.
Fixes #61
2016-02-13 11:54:20 -07:00
Jeremy Whitlock
7b8cf5d257
Properly identify optional parameters
...
Fixes #60
2016-02-05 10:55:13 -07:00
Jeremy Whitlock
b921c8dfdd
Changed debug logging
2016-02-02 18:22:00 -07:00
Jeremy Whitlock
bda1a880bf
Fix failing build (karma-phantomjs-launcher upgrade)
2016-02-02 17:36:45 -07:00
Jeremy Whitlock
ba2598ced4
Upgrade json-refs for upstream bug fixes
2016-02-02 16:59:55 -07:00
Jeremy Whitlock
f5f31f90da
Updated json-refs for more bug fixes
2016-01-23 23:27:18 -07:00
Jeremy Whitlock
f3001134ca
Fix build (lodash upgrade broke things)
2016-01-22 21:21:39 -07:00
Jeremy Whitlock
ceaeb4f178
Updated json-refs
2016-01-22 20:31:18 -07:00
Jeremy Whitlock
2c06dd7c7a
Upgraded json-refs
2016-01-21 13:59:49 -07:00
Jeremy Whitlock
e7884bc12c
Minor release notes change
2016-01-20 10:21:33 -07:00
Jeremy Whitlock
e27e896f39
Attempting to fix API doc rendering
2016-01-15 13:03:02 -07:00
Jeremy Whitlock
08ba90cbc8
Treat json-refs warnings as validation warnings
...
Also fixed up some jsdoc issues that didn't render right
2016-01-15 12:53:45 -07:00
Jeremy Whitlock
d0a4b7b0ad
Various changes related to consistency
...
* All type objects' `definition` property is now the original definition
and is no longer the fully resolved definition
* All type objects now have a `definitionFullyResolved` that is the
fully resolved definition *(Previously the `definition` property)
* We no longer overwrite `Operation.parameters` with the composite view
of operation parameters
* We no longer overwrite `Operation.security` with the composite view of
operation security *(This is now available as the
`Operation#getSecurity` API)*
2016-01-15 12:32:00 -07:00
Jeremy Whitlock
e4ec71b606
Consistency refactoring
2016-01-14 10:52:58 -07:00
Jeremy Whitlock
36b486c140
Added a contributing guide
2016-01-12 12:01:15 -07:00
Jeremy Whitlock
100c0a43da
Updated the browser example
2016-01-12 12:00:54 -07:00
Jeremy Whitlock
cbde4b4f06
Updated the release notes for previous commits
2016-01-11 23:38:10 -07:00
Jeremy Whitlock
14d0fb4b12
Removed `Parameter#getSchema` and renamed `Parameter.computedSchema` to `Parameter.schema`
...
Also made various jsdoc changes so that the generated `docs/API.md`
linked properly and read better.
2016-01-11 23:28:03 -07:00
Jeremy Whitlock
aa776ef1ac
Minor refactoring for jsdoc and object properties
2016-01-11 15:38:20 -07:00