Commit Graph

47 Commits

Author SHA1 Message Date
Kam Low
21252e92de
Merge pull request #160 from lionelvillard/yaml
yaml example support
2019-01-30 10:43:51 +01:00
Lionel Villard
a37005d564 yaml example support 2018-11-28 21:05:15 -05:00
Martin
1237e04292 Update dependencies & fix tests
Updates in detail:
cheerio                   ^0.19.0  → ^1.0.0-rc.2
clarify                   ^1.0.5  →       ^2.1.0
foundation-sites          ^6.4.1  →  ^6.5.0-rc.4
grunt-contrib-clean       ^1.1.0  →       ^2.0.0
grunt-contrib-connect     ^1.0.2  →       ^2.0.0
grunt-contrib-cssmin      ^2.2.1  →       ^3.0.0
grunt-contrib-jshint      ^1.1.0  →       ^2.0.0
grunt-contrib-uglify      ^3.3.0  →       ^4.0.0
json-refs                 ^2.1.6  →      ^3.0.12
marked                    ^0.3.5  →       ^0.5.1
sync-request              ^4.1.0  →       ^6.0.0
tmp                       0.0.31  →       0.0.33
trace                     ^1.1.0  →       ^3.1.0
chai                      ^3.5.0  →       ^4.2.0
mocha                     ^3.5.3  →       ^5.2.0
bluebird                  ^3.4.7  →       ^3.5.2
grunt-compile-handlebars  ^2.0.0  →       ^2.0.2
grunt-sass                ^3.0.0  →       ^3.0.2
handlebars                ^4.0.5  →      ^4.0.12
highlight.js              ^9.1.0  →      ^9.13.0
js-yaml                   ^3.8.2  →      ^3.12.0
lodash                    ^4.2.1  →     ^4.17.11
node-sass                 ^4.9.0  →       ^4.9.4
2018-10-16 07:09:27 -07:00
Kam Low
b3bb546fd6
Merge pull request #137 from noliran/issue-98
Add support for displaying nested objects and arrays in definitions
2018-04-15 18:16:00 +02:00
Kam
e11adc7f3a Fix #122 and #126 markdown rendering issues
Improve the way schema descriptions are rendered and linked
2018-03-21 09:09:34 +01:00
Kam
c78cf37606 Fix rendering of remote file references 2018-03-20 10:27:11 +01:00
Yuji Yamano
68dba56515 Add link to #98. 2018-02-01 12:58:33 +09:00
Yuji Yamano
51c6fc9734 Add https://github.com/sourcey/spectacle/files/1678647/swagger.json.zip as issue-98.json with beautification. #98 2018-02-01 12:52:30 +09:00
Yuji Yamano
e3853be1d7 Add an OpenAPI spec file for #98. 2018-01-30 22:15:04 +09:00
Yuji Yamano
9e54d1254b Add a spec file to test. Taken from #69 with some modifications. 2017-12-09 15:51:30 +09:00
Kam Low
02074eaf1d
Merge pull request #108 from yyamano/fix-typo
Fix typos in test/fixtures/cheese.yml.
2017-11-30 18:23:01 +01:00
Yuji Yamano
94a681687c Fix typos in test/fixtures/cheese.yml.
It was out of sync with test/fixtures/cheese.json. See #94
2017-11-30 21:09:56 +09:00
Yuji Yamano
81377d477b Fix a broken test. Fixed #106 2017-11-30 20:55:57 +09:00
Kam Low
0abdf7d57d
Merge pull request #92 from zakhenry/fix/null-node-error
Fix null node references
2017-11-13 13:32:31 +01:00
Simeon Visser
b01af35348 Fixed typos in cheese store example
Updated a few links to use HTTPS
2017-09-24 19:43:13 +01:00
Zak Henry
8618f5ea22 fix(Resolve References): Fix case where null node throws error due to
check only verifying object type but `typeof null === "object"`.
2017-09-20 17:03:13 +01:00
Kam
a557eb8c10 Update #51 fix exception with recursive references
Numerous style updates
Update foundation dependency
2017-08-04 16:04:35 +02:00
Kam
2da708a214 Fix #64 render produces/consumes per operation if defined 2017-08-01 15:11:52 +02:00
Kam
9343ca9dc8 Fix #65 parsing allOf definitions without type 2017-08-01 14:48:54 +02:00
Kam
5099cbffcb Fix #76 highlight code blocks in descriptions 2017-08-01 12:59:28 +02:00
Ryan Leonard
55f36ed688 Added tagging paths loaded from external files. 2017-04-03 13:21:37 -04:00
Ryan Leonard
e708f556b8 Added 'path' reference context. 2017-04-03 12:30:59 -04:00
Ryan Leonard
0bb25c0c73 Merged master into resolve-remote-references. 2017-04-03 12:12:22 -04:00
Kam Low
c9318b4c8d Update swagger examples in the demo 2017-04-02 14:30:24 +02:00
Ryan Leonard
5c0528796a Added remote file lookup to the default schema tested. 2017-03-26 13:00:54 -04:00
Ryan Leonard
ab0c20543d Added 'propertyArrayDefinition'. 2017-03-26 13:00:03 -04:00
Ryan Leonard
42126e7b77 Fixed immediate re-references. 2017-03-26 12:25:53 -04:00
Ryan Leonard
f72219f988 Used 'resolveLocal' to handle local references in remote files. 2017-03-21 16:34:53 -07:00
Ryan Leonard
e6d64ce58a Added 'resolveLocal()' 2017-03-21 16:26:51 -07:00
Ryan Leonard
8febb78ca0 Added tests for contexts. 2017-03-21 15:40:43 -07:00
Ryan Leonard
83a69f3260 Added 'OFFLINE' environment variable to testing. 2017-03-21 15:29:28 -07:00
Ryan Leonard
6a39104723 Added context matching. 2017-03-17 11:25:19 -07:00
Ryan Leonard
edccddb1c9 Integrated resolve-references into the preprocessor. 2017-03-17 10:48:32 -07:00
Ryan Leonard
f41c5d5440 Added 'resolve-references' 2017-03-16 15:08:47 -07:00
Ryan Leonard
4cafc0603c Added JSON searching. 2017-03-16 12:29:43 -07:00
Ryan Leonard
6455b8b88d Added urls.relative. 2017-03-16 09:24:54 -07:00
Ryan Leonard
dacbed4bff Added URL utility. 2017-03-16 09:05:21 -07:00
Kam Low
8c946991d6 Add perstore expanded example fixture
Fix #46 parsing `schema.$ref` in response block
2017-03-15 18:01:30 +01:00
Ryan Leonard
75714f9164 Switched definitions to only be inserted in the global defs, and not copied for each reference. 2017-03-14 10:02:33 -07:00
Ryan Leonard
8a22c8b279 Drafted tests for reference resolving. 2017-03-14 09:50:52 -07:00
Ryan Leonard
20fce13763 Added basic testing of the preprocessor. Setup Mocha. 2017-03-13 08:16:52 -07:00
Kam Low
c716b47d67 Fix #37 display example with type in schema 2017-03-01 16:02:33 +01:00
Kam Low
ae471b22ff Fix #25 definition custom JSON examples 2017-01-04 21:07:30 +01:00
Kam
9aa4c62c7f Update documentation 2016-06-04 14:57:47 +10:00
Kam
62532efa0a Add custom logo support
Improve documentation
2016-02-07 14:28:19 +10:00
Kam
8764b5332e Add sample Cheese Store API spec
Separate Foundation CSS file
Add responsive drawer layout
Fix rendering bugs
2016-01-18 22:30:34 +10:00
Kam
48905fae4a Initial commit 2016-01-12 20:38:19 +10:00