Commit Graph

45 Commits

Author SHA1 Message Date
Kam Low
1c051868d3 Update syntax 2017-04-01 14:06:11 +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
5bb96f367a Revert "Revert "Print examples using definition example fields"" 2017-04-01 11:45:02 +02:00
Kam Low
0fd043dd3b Revert "Print examples using definition example fields" 2017-03-14 08:19:09 +01:00
Dries Harnie
f3962dd462 Render descriptions of security definitions as Markdown 2017-03-09 11:12:19 +01:00
Mike Holly
8a9705faae Print examples using definition example fields 2017-03-04 11:17:00 -08:00
Kam Low
c716b47d67 Fix #37 display example with type in schema 2017-03-01 16:02:33 +01:00
Kam Low
a032239bd1 Fix #38 POST bodies rendering as undefined
Improve request and response rendering
Improve layout styles for definition descriptions
2017-03-01 12:24:28 +01:00
Al James
e0c951ff9f Tidy up fix and remove original code 2017-02-27 15:08:17 +00:00
Al James
2300e48d06 Use schema examples in 'request example' 2017-02-27 14:53:12 +00:00
Kam Low
2ece7a0d57 Merge pull request #28 from CodeLenny/iss26-code-highlighting
Fixed Code Highlighting Background Color
2017-01-10 09:46:38 +01:00
Ryan Leonard
40d01fcb7b Added 'hljs ' to langPrefix to properly highlight code snippets. 2017-01-09 15:05:46 -05:00
Oskar Danielsson
e998049d4a Forced HTTPS for JQuery reference
This will allow the reference to work when "opening" the HTML file locally, assuming the computer has internet access of course
2017-01-09 12:31:24 +01:00
Kam Low
b278d90a33 Tweak font size for large screens 2017-01-06 18:42:34 +01:00
Kam Low
ae471b22ff Fix #25 definition custom JSON examples 2017-01-04 21:07:30 +01:00
Kam
f8b9f0dfad Merge branch 'master' of github.com:sourcey/spectacle
Conflicts:
	public/index.html
2016-12-13 22:43:34 +01:00
Kam
fd0fc56b2e Fix #22 parse parameter descriptions
Prettify HTML output
2016-12-13 22:40:38 +01:00
Kam Low
e60f5d5a5e Merge pull request #21 from OskarD/master
#15 Fixed bad escape
2016-12-12 11:03:29 +01:00
Kam Low
22610258fd Merge pull request #23 from OskarD/allow-offline-access
Removed root slash from links
2016-12-12 10:54:41 +01:00
Oskar Danielsson
5fb9f559e5 Removed root slash from links 2016-12-12 10:39:52 +01:00
Oskar Danielsson
899cce3130 Fixed bad escape 2016-12-12 10:23:18 +01:00
Kam Low
c7a3633a69 Merge pull request #20 from OskarD/master
#15 Escape dots in jQuery div ID search
2016-12-12 09:43:26 +01:00
Oskar Danielsson
75ee66adb4 #15 Escape dots in jQuery div ID search 2016-12-12 09:26:05 +01:00
Kam Low
234ec2704d Merge pull request #19 from OskarD/patch-2
Replaced div with span
2016-12-12 09:17:16 +01:00
Oskar Danielsson
1a7e62aace Replaced div with span
div is not allowed within the h2 tag
2016-12-12 08:29:14 +01:00
Oskar Danielsson
b0c9e32e59 Added missing space 2016-12-12 08:27:13 +01:00
Kam
138dfe5edb Fix #16 HTML updating on spec file change 2016-12-11 15:43:02 +01:00
Kam
b49ac7059f Add screenshot to README
Remove max-width CSS definition
2016-12-03 23:56:28 +01:00
Kam
947c6bbb9b Fix #12 response examples parsing schema types 2016-11-25 00:46:14 +01:00
Kam
5ed20126f0 Fix empty CSS #13
Revert foundation
2016-11-24 19:26:43 +01:00
Kam
a3e4bb1e11 Merge branch 'master' of github.com:sourcey/spectacle
Conflicts:
	app/helpers/printSchemaReference.js
	app/lib/common.js
2016-11-20 23:08:47 +01:00
Kam
56f460e959 Replace compass dependency with libsass fix #9 and fix #3
Fix #8 and fix #4 definitions not parsing
Update foundation to v6.2.4 fix #1
2016-11-20 21:45:52 +01:00
Peter Hodgkinson
0b1bd74efd -Refactor to recusrively deal with sub-objects in the schema 2016-09-01 13:31:29 -04:00
Peter Hodgkinson
9847e9159f -Prevent mutation of the original spec object properties by cloning the model before change the properties. 2016-09-01 13:00:00 -04:00
Peter Hodgkinson
8d9c47f8f0 Add support for json schema refs in enums
Supports case where you have a property description like
"propertyName": {
                     "enum": [
                        {
                            "$ref": "#/definitions/ObjectDefinitionA"
                        },
                        {
                            "$ref": "#/definitions/ObjectDefinitionB"
                        },
                        {
                            "$ref": "#/definitions/ObjectDefinitionC"
                        }
                    ]
                }
2016-09-01 09:51:56 -04:00
Peter Hodgkinson
a79d9dc1d6 Comment out reference to entitites package as this package is not used and is not referenced from the package.json.
This line could be deleted instead of commented out, but the reference is commented out it other files, so I followed that pattern to maintain consitency.
2016-09-01 09:38:01 -04:00
Kam
26a31bf59b Fix minimal embedded doc generation 2016-06-04 18:02:57 +10:00
Hilke Heremans
4c1d207643 Fix error when not specifying logo URL, fix bug in spec loading 2016-05-21 09:36:11 +02:00
Kam
cb176283f5 Add better global installation support 2016-02-07 16:17:18 +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
e974593503 Make CSS templates more modular 2016-01-17 11:22:34 +10:00
Kam
c0ec86786f Add config.js override option
Restructure SCSS to #spectacle scope
2016-01-16 21:29:20 +10:00
Kam
b1b7e9802c Handle empty host
Handle empty tag documentation
Update documentation
2016-01-15 16:50:15 +10:00
Kam
48905fae4a Initial commit 2016-01-12 20:38:19 +10:00