Commit Graph

278 Commits

Author SHA1 Message Date
Kam Low
ca49ffc96e Merge pull request #71 from zakhenry/patch-1
Reverts commented out langPrefix to allow highlightjs to work
2017-06-30 17:47:00 +02:00
Zak Henry
88131251af Fix invalid js and add space to separate classes 2017-06-30 14:43:50 +01:00
Zak Henry
68c233574a Reverts commented out langPrefix to allow highlightjs to work
See 8366d85478 (commitcomment-22853526) for context
2017-06-30 14:39:49 +01:00
Kam Low
420edfab16 Merge pull request #62 from josa42/show-examples-with-value-zero
Fix examples with falsy values
2017-06-12 12:41:45 +02:00
Kam Low
90e9452722 Merge pull request #61 from josa42/hide-read-only-attributes-in-request-example
Hide readOnly attributes in request examples
2017-06-12 12:40:45 +02:00
Josa Gesell
6c7c525bc3 Fix examples with falsy values 2017-06-12 10:27:58 +02:00
Josa Gesell
4a921cf68e Hide readOnly attributes in request examples
Fixes #59
2017-06-12 10:23:00 +02:00
Kam Low
fffa662538 Merge pull request #41 from CodeLenny/remote-schema-reference
Added support for referencing remote schemas
2017-06-11 15:27:16 +02:00
Kam Low
886c65dda4 Fix #50 add Docker section to README 2017-04-22 14:44:13 +02:00
Kam Low
aae633fe6d Add Dockerfile 2017-04-22 14:36:56 +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
00ced5ac01 Update screenshot 2017-04-02 15:04:35 +02:00
Kam Low
c9318b4c8d Update swagger examples in the demo 2017-04-02 14:30:24 +02:00
Kam Low
8366d85478 Make recursive example parsing more error tolerant 2017-04-02 12:56:16 +02:00
Kam Low
55b6e2c655 Fix #40 #47 render examples recursively
Fix #17 paths ordered as per swagger file
Remove json-stable-stringify dependency
2017-04-01 13:53:02 +02:00
Kam Low
db9ce6d982 Merge pull request #48 from sourcey/revert-44-revert-42-print-example
Fix print examples using definition example fields
2017-04-01 11:46:37 +02:00
Kam Low
5bb96f367a Revert "Revert "Print examples using definition example fields"" 2017-04-01 11:45:02 +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
6a258b9f21 Fixed type error: ensured remote reference is an object before resolving local references. 2017-03-26 12:14:26 -04:00
Ryan Leonard
c1bf5b05c6 Improved error messages. 2017-03-26 12:12:45 -04:00
Ryan Leonard
e3a1aa9c08 Added documentation about testing. 2017-03-23 10:37:04 -04:00
Ryan Leonard
5c9772201e Added a cache to improve preformance. 2017-03-21 16:36:05 -07: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
64525706fa Added documentation. 2017-03-21 15:40:34 -07:00
Ryan Leonard
83a69f3260 Added 'OFFLINE' environment variable to testing. 2017-03-21 15:29:28 -07:00
Ryan Leonard
647528df3d Added missing 'reference-contexts'. 2017-03-17 12:18:11 -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
Kam Low
7da1b10f69 Update TODO.md 2017-03-14 09:11:22 +01:00
Kam Low
df8aea5ba8 Merge pull request #44 from sourcey/revert-42-print-example
Revert "Print examples using definition example fields"
2017-03-14 08:19:24 +01:00
Kam Low
0fd043dd3b Revert "Print examples using definition example fields" 2017-03-14 08:19:09 +01:00
Ryan Leonard
20fce13763 Added basic testing of the preprocessor. Setup Mocha. 2017-03-13 08:16:52 -07:00
Kam Low
17417bc334 Merge pull request #43 from Botje/security-definitions-markdown
Render descriptions of security definitions as Markdown
2017-03-10 10:24:28 +01:00
Dries Harnie
f3962dd462 Render descriptions of security definitions as Markdown 2017-03-09 11:12:19 +01:00
Kam Low
eb20f0292c Merge pull request #42 from mikejholly/print-example
Print examples using definition example fields
2017-03-09 09:16:35 +01:00
Ryan Leonard
1315823043 Added loop for reference resolution. 2017-03-08 13:19:37 -08:00
Ryan Leonard
ad062053d3 Revert "Hacked remote references."
This reverts commit e5e4622736.
2017-03-08 12:55:22 -08:00