Commit Graph

187 Commits

Author SHA1 Message Date
Ying Tang 1dbc9cf113 propertyName, not property 2015-04-05 17:04:30 -07:00
Ying Tang e22b826bca fix resource listing and remove id from each property 2015-04-05 16:51:15 -07:00
Ying Tang b9df4b6706 remove id fields from required array 2015-04-02 16:29:09 -07:00
Ying Tang 772a48773d remove required from sub-schema 2015-04-01 17:47:57 -07:00
Ying Tang 022403eadc bump version 2015-03-26 22:33:12 -07:00
Ying Tang 27e5895aa5 add $ref and remove type for models 2015-03-26 22:23:24 -07:00
Shelby Sanders fa0c8d160a Merge branch 'master' of github.com:shelbys/loopback-explorer
* 'master' of github.com:shelbys/loopback-explorer:
  Changed Swagger() to omit resources with no content
2015-02-07 22:59:08 -08:00
Shelby Sanders 24146313ec Changed Swagger() to omit resources with no content 2015-02-07 22:59:00 -08:00
Shelby Sanders 5902425f52 Changed Swagger() to omit resources with no content 2015-02-07 22:58:30 -08:00
Shelby Sanders 3ca1f45a77 Added event emission for swaggerResources to support customization 2015-02-07 14:40:15 -08:00
Shelby Sanders 3bd1e4440d Corrected handling of type for operation, including containers 2015-01-09 21:53:37 -08:00
Shelby Sanders 5fcc411c06 Corrected handling for absent settings.additionalProperties 2015-01-09 21:52:57 -08:00
Shelby Sanders 9de19e851e Merge branch 'master' of github.com:shelbys/loopback-explorer
* 'master' of github.com:shelbys/loopback-explorer:
  added reference to settings for additional properties
2014-11-07 20:47:30 -08:00
Shelby Sanders 4a40f18251 Added support for public in order to hide operations from Swagger 2014-11-07 20:47:20 -08:00
Shelby Sanders ed22de9daf Merge pull request #2 from shelbys/additional_properties_patch
added reference to settings for additional properties
2014-10-28 19:40:00 -07:00
Jake Ayala 657f5e2119 added reference to settings for additional properties 2014-10-28 19:21:47 -07:00
Shelby Sanders fd30b2d151 Protected against non-Model generation requests 2014-10-07 16:52:27 -07:00
Shelby Sanders 7f4e8b3f87 Corrected merge issues 2014-10-07 15:27:49 -07:00
Shelby Sanders 8563dd0463 Merge remote-tracking branch 'upstream/master'
* upstream/master:
  Sort endpoints by letter.
  Add syntax highlighting styles & highlight threshold.
  Add contribution guidelines
  Bump version
  Fix how the array of models is iterated
  Bump version
  Make sure nested/referenced models in array are mapped to swagger
  Make sure nested/referenced models are mapped to swagger
  Bump version
  Newest Swagger UI requires application/x-www-form-urlencoded.
  Use `dist` property from swagger-ui package.
  Fixed undefined modelClass when using polymorphic relations
  Bump version
  Fix the type name for a property if model class is used

Conflicts:
	lib/model-helper.js
	lib/swagger.js
	public/css/loopbackStyles.css
2014-10-07 11:57:15 -07:00
Miroslav Bajtoš 520b0b91d9 Merge pull request #55 from STRML/sortEndpoints
Sort endpoints by letter.
2014-10-07 14:18:19 +02:00
Samuel Reed 0a35cdb4af Sort endpoints by letter.
Merged from swagger-ui's index.html.

Previously, endpoints were sorted in the order they were defined.
2014-10-07 13:56:30 +02:00
Miroslav Bajtoš 174aff7fbe Merge pull request #56 from STRML/syntaxHighlighting
Add syntax highlighting styles & highlight threshold.
2014-10-07 13:52:43 +02:00
Samuel Reed ad68695009 Add syntax highlighting styles & highlight threshold.
Previously, highlighting classes were being added to the DOM but had no CSS
so the user just saw black - a lot of CPU usage for nothing.

These styles now attractively and minimally style resposes so long as
they are below a certain threshold, as well as model schemas.

The highlightSizeThreshold fixes the long hang users would
see when large responses were returned.
2014-10-07 11:07:41 +02:00
Ryan Graham 64c25a8c3c Add contribution guidelines
Uses https://cla.strongloop.com
2014-10-01 17:55:03 -07:00
Shelby Sanders 2d6f7aebe8 Added padding to content well in order to counteract changes in SwaggerUI 2014-09-29 19:43:56 -07:00
Raymond Feng eaf16b9aa8 Merge tag 'v1.2.11'
1.2.11
2014-09-22 09:05:36 -07:00
Raymond Feng 76f719c3e8 Merge branch 'release/1.2.11' into production 2014-09-22 09:05:32 -07:00
Raymond Feng b488fa3c25 Bump version 2014-09-22 09:04:47 -07:00
Raymond Feng b212ab1f20 Merge pull request #50 from strongloop/feature/fix-issue-49
Fix how the array of models is iterated
2014-09-22 09:03:27 -07:00
Raymond Feng 282b70e1e4 Fix how the array of models is iterated
https://github.com/strongloop/loopback-explorer/issues/49
2014-09-19 09:35:11 -07:00
Shelby Sanders 240898e7a5 Added support for scanning accepts params for Model references 2014-09-17 19:02:39 -07:00
Raymond Feng 4757d89f10 Merge tag 'v1.2.10'
1.2.10
2014-09-05 15:45:36 -07:00
Raymond Feng 72d0f9e4d6 Merge branch 'release/1.2.10' into production 2014-09-05 15:45:26 -07:00
Raymond Feng 91caa92be7 Bump version 2014-09-05 15:44:50 -07:00
Raymond Feng ea4dc17e58 Merge pull request #44 from strongloop/feature/add-other-models
Make sure nested/referenced models are mapped to swagger
2014-09-05 15:40:27 -07:00
Raymond Feng bf3f438a58 Merge pull request #45 from clarkorz/feature/add-other-models
Make sure nested/referenced models in array are mapped to swagger
2014-08-29 08:22:07 -07:00
Clark Wang acf00f3254 Make sure nested/referenced models in array are mapped to swagger
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-08-29 16:06:05 +08:00
Raymond Feng d083feab36 Make sure nested/referenced models are mapped to swagger 2014-08-28 15:20:03 -07:00
Shelby Sanders 464e37c1c9 Changed addRoute() to honor X-Forwarded-Host 2014-08-25 20:06:31 -07:00
Raymond Feng 0efb4fd4b4 Merge tag 'v1.2.9'
1.2.9
2014-08-15 23:41:39 -07:00
Raymond Feng 03bbc8f1fb Merge branch 'release/1.2.9' into production 2014-08-15 23:41:32 -07:00
Raymond Feng 937ec98c97 Bump version 2014-08-15 23:37:10 -07:00
Raymond Feng 0d182939a0 Merge pull request #38 from STRML/form-encoding
Newest Swagger UI requires application/x-www-form-urlencoded.
2014-08-15 23:36:34 -07:00
Raymond Feng e0f81b5436 Merge pull request #37 from STRML/swagger-ui-dist
Use `dist` property from swagger-ui package.
2014-08-15 23:36:05 -07:00
Raymond Feng 4be0fb2742 Merge pull request #36 from nvdnkpr/master
Fixed undefined modelClass when using polymorphic relations
2014-08-15 23:13:01 -07:00
Samuel Reed d98a7877d4 Newest Swagger UI requires application/x-www-form-urlencoded.
UI will fail to POST if this consumes type is not specified.
2014-08-12 12:45:38 -04:00
Samuel Reed e7efa82640 Use `dist` property from swagger-ui package.
This removes the hardcoded local `node_modules` lookup for swagger-ui,
which will break if the parent installs swagger-ui itself.

This is useful if, for example, the latest swagger-ui breaks
loopback-explorer, and the parent project wants to install a fixed
version in its root.
2014-08-12 09:47:53 -04:00
Navid Nikpour bda9e5f627 Fixed undefined modelClass when using polymorphic relations 2014-08-10 08:46:24 +02:00
Raymond Feng 8a166083fe Merge tag 'v1.2.8'
1.2.8
2014-08-08 11:22:28 -07:00
Raymond Feng eaf3d692b1 Merge branch 'release/1.2.8' into production 2014-08-08 11:22:23 -07:00