Commit Graph

156 Commits

Author SHA1 Message Date
Matheus Camelucci
e2165fd25f Fixed code issues due the dependencies update 2021-07-06 21:24:34 -03:00
Daniel Schneider
f817d8b577 fix example rendering 2020-01-29 16:07:45 +01:00
Tommy Schnabel
d9d15f5903 Fixed #141 by adding support for $ref based circular reference support 2019-06-28 13:37:28 -04:00
Kam Low
1feb924e8d
Merge pull request #185 from huttotw/master
Remove cache in resolve references since files change often
2019-04-09 12:37:31 +02:00
Kam Low
f747888674
Update common.js 2019-04-08 20:07:42 +02:00
Elyes Ben Abdelkader
9c3141ccae Fix typo 2019-04-05 09:41:26 +02:00
Elyes Ben Abdelkader
44fa1e48d1 Fix displaying a response examples
According to the OpenAPI v2.0 Specifications*, response examples have to be defined
in a 'examples' field, not 'example'. Furthermore, an example must be an Example Object**.

* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#response-object
** https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#example-object
2019-04-04 15:24:41 +02:00
Trevor Hutto
b0b88a1cf6 remove cache in resolve references since files change often 2019-03-06 10:34:02 -05:00
Kam Low
46dc681b44
Merge pull request #182 from paulotokimatu/fix/code-block-overflow
Fixed overflow of code blocks
2019-01-30 10:45:24 +01:00
Kam Low
21252e92de
Merge pull request #160 from lionelvillard/yaml
yaml example support
2019-01-30 10:43:51 +01:00
Kam Low
2155a62db6
Merge pull request #177 from lionelvillard/fixhref
fix href with multiple dots
2019-01-30 10:43:11 +01:00
paulotokimatu
865fd30327 Fixed overflow of code blocks 2019-01-29 21:16:47 -06:00
Kelly Campbell
4c6b529b52 Translate : to - in hrefs
Fixes #179
2019-01-09 11:18:16 -05:00
Lionel Villard
a37005d564 yaml example support 2018-11-28 21:05:15 -05:00
Lionel Villard
c54bf1ec31 fix href with multiple dots 2018-11-28 20:22:55 -05:00
Martin
ef946b73de Fix deprecated $header-sizes warning
This commit fixes the following warning:
```bash
Running "sass:scss" (sass) task
WARNING: Note, that $header-sizes has been replaced with $header-styles. $header-sizes still works, but it is going to be depreciated.
         on line 77 of app/vendor/foundation/scss/typography/_base.scss, in function `build_from_header-sizes`
         from line 91 of app/vendor/foundation/scss/typography/_base.scss
         from line 10 of app/vendor/foundation/scss/typography/_typography.scss
         from line 31 of app/vendor/foundation/scss/foundation.scss
         from line 7 of app/stylesheets/spectacle.scss
```
2018-10-16 07:15:39 -07:00
Kam Low
8026b600bf Update LICENCE 2018-09-20 00:23:17 +02:00
Kam Low
c448c63485 Update Grunt dependencies 2018-07-02 02:25:14 +02:00
Kam Low
52dca06c45 Update to grunt-saas 3.0 #156 2018-07-01 21:43:18 +02:00
Kam Low
31d956ed52
Merge pull request #155 from patrickboesch/change-property-type-position
Change position of type in request parameters
2018-06-27 11:24:24 +02:00
Patrick Bösch
2d8fee347c Change position of type in request parameters 2018-06-27 08:53:11 +02:00
Patrick Bösch
f363b951fd Allow x-spectacle-topic to have examples
Also add exmaples to security-definition
2018-06-27 08:24:52 +02:00
Kam Low
1b8b058a30
Merge pull request #135 from schursin/issue-119
support description for enum definitions
2018-04-15 18:18:16 +02:00
Kam Low
6c039f5077
Merge pull request #138 from noliran/support-for-resource-embedding
Added support for resource embedding
2018-04-15 18:16:50 +02: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
Noam Liran
016e5ef81d Added support for resource embedding 2018-04-12 21:40:50 +03:00
Noam Liran
9d0d3d1f8b Add support for displaying nested objects and arrays in definitions 2018-04-12 21:28:40 +03:00
Sergey Chursin
9f8e407967 support description for enum definitions 2018-03-29 23:10:16 +03:00
Sergey Chursin
c88e0f0e20 development mode with live reload support 2018-03-23 14:16:19 +03:00
Sergey Chursin
ff1ac52c28 support of $ref in parameters and responses 2018-03-23 10:57:20 +03:00
schursin
0758fcb6ce
x-nullable support 2018-03-22 23:06:18 +03:00
Kam
07f609ef4f Update security partial 2018-03-22 12:53:07 +01:00
Yuji Yamano
d7e68b9f6f Improve comment. Non functional change. 2018-03-22 11:04:57 +09:00
Yuji Yamano
9a4bab2eaa Make this work on Windows with spec files outside the current directory. 2018-03-22 11:04:57 +09: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
17573051d6 POC for #98 2018-02-01 13:34:33 +09:00
Kam Low
d447d0b87e
Merge pull request #100 from zakhenry/feat/display-response-headers
Add response headers to output
2018-01-17 23:26:40 +01:00
Kam Low
992c7d1c21
Merge pull request #117 from yetithefoot/master
Option to control rendering flow
2018-01-17 23:24:44 +01:00
Vlad Tsepelev
43ad20b43b specify x-spectacle-hide property to control rendering 2018-01-17 16:55:23 +01:00
Vlad Tsepelev
9fef15e130 allow to hide security definitions rendering 2018-01-17 16:41:56 +01:00
Vlad Tsepelev
0ccd8d894a use htmlId to build links instead of extra name property 2018-01-16 00:39:16 +01:00
Kam Low
f389c6484d
Merge pull request #112 from yyamano/issue-69
Show enum values in response to fix #69
2018-01-13 01:44:59 +01:00
Kam Low
de5fa3ea15
Merge pull request #115 from yyamano/log
Improve log messages
2018-01-13 01:44:25 +01:00
Vlad Tsepelev
c7d8242ed3
rename x-spectacle-articles to x-spectacle-topics 2018-01-12 02:38:33 +01:00
Vlad Tsepelev
2673c211dc
Add topics to content page 2018-01-12 02:37:39 +01:00
Vlad Tsepelev
5986693b31
Ad topics to navigation sidebar 2018-01-12 02:37:01 +01:00
Vlad Tsepelev
7ec345e464
Update swaggerCollectionFormat.js 2018-01-12 02:22:24 +01:00
Vlad Tsepelev
6cf523d3f9
Make table rendering more readable 2018-01-12 02:21:50 +01:00
Vlad Tsepelev
4a8c3435ee
Create x-spectacle-articles.hbs 2018-01-12 02:01:45 +01:00