Commit Graph

107 Commits

Author SHA1 Message Date
Miroslav Bajtoš b17c942c1a
6.0.0
* [SEMVER-MAJOR] Remove deprecated CORS support (Hiran del Castillo)
 * Add Travis CI configuration (Miroslav Bajtoš)
2018-04-18 08:57:15 +02:00
Hiran del Castillo fc43ff6e63
[SEMVER-MAJOR] Remove deprecated CORS support
It's the responsibility of the applications using API Explorer
to configure an app-wide CORS middleware.
2018-04-17 15:47:29 +02:00
Miroslav Bajtoš f497f0bdbc
5.4.0
* feat: rebuild swagger after a model was deleted (Miroslav Bajtoš)
 * update link for docs.strongloop.com (Diana Lau)
 * Revert "docs: update link from docs.strongloop.com" (Diana Lau)
 * docs: update link from docs.strongloop.com (Diana Lau)
2018-04-17 10:23:23 +02:00
Miroslav Bajtoš 62a46a0344
feat: rebuild swagger after a model was deleted 2018-04-17 10:12:55 +02:00
Miroslav Bajtoš 9dd7eb52af
5.3.0
* Upgrade lodash from 3.x to 4.x (Miroslav Bajtoš)
 * chore: update license (Diana Lau)
2018-02-19 11:33:58 +01:00
Miroslav Bajtoš acb4927d3f
Upgrade lodash from 3.x to 4.x 2018-02-16 09:45:26 +01:00
Miroslav Bajtoš c1925fa8c4
5.2.0
* update strong-globalize to 3.1.0 (shimks)
2017-10-13 15:32:37 +02:00
shimks c4f6a04d7e update strong-globalize to 3.1.0 2017-10-12 14:46:18 -04:00
Raymond Feng 2ad0b93895 5.1.0
* Refresh swagger on remoteMethodAdded (Raymond Feng)
2017-09-15 11:01:55 -07:00
rashmihunt 414a512fc2 Increment loopback-swagger ver 2017-09-05 15:11:18 -07:00
rashmihunt af3b8b5430 version no to 5.0.0 2017-08-29 15:12:20 -07:00
rashmihunt 015f5e7d6a bump swagger version to 4.x 2017-08-23 15:22:42 -07:00
Miroslav Bajtoš 1e3b817469
4.2.0
* Change Explorer header to use LoopBack (emckean)
2017-03-24 10:32:48 +01:00
Miroslav Bajtoš 188603f352 4.1.1
* Set z-index to 1 on header to fix styling bug (Imam Assidiqqi)
 * replace slc with lb (ivy ho)
2017-02-17 16:11:30 +01:00
Miroslav Bajtoš 69d1459ecc 4.1.0
* bump loopback-swagger version to 3.0.1 (Jurien Hamaker)
2017-01-31 13:18:11 +01:00
Jurien Hamaker 0516bfe3a0 bump loopback-swagger version to 3.0.1 2017-01-31 09:53:20 +01:00
Simon Ho 065e1b054f Updates for LB3 release
* Update package.json publishConfig

* Add note to README.md
2016-12-21 01:03:03 -08:00
Siddhi Pai cdb137fa74 Drop support for Node v0.10 and v0.12 2016-11-19 02:25:31 -08:00
Siddhi Pai 5fb7e8fa21 Start the development of the next major version 2016-11-19 02:24:59 -08:00
Miroslav Bajtoš 2da4491ead 3.0.0
* Update to mainline swagger-ui (Samuel Reed)
 * Start 3.0 development (Miroslav Bajtoš)
2016-10-14 15:41:32 +02:00
Samuel Reed 3e8636c0ac Update to mainline swagger-ui
Revert #107
https://github.com/strongloop/loopback-component-explorer/pull/107
2016-10-14 15:27:43 +02:00
Miroslav Bajtoš 24fad82960 Start 3.0 development 2016-10-14 14:58:44 +02:00
Candy 91cdd7b63c 2.7.0
* Update translation files - round#2 (Candy)
 * Add translated files (gunjpan)
 * Use new api for disabling a remote method. (Richard Pringle)
 * Fix tests to not depend on exact EOL chars (Miroslav Bajtoš)
 * Update deps to loopback 3.0.0 RC (Miroslav Bajtoš)
 * Deprecate built-in CORS middleware (Miroslav Bajtoš)
 * Use loopback@3.0.0-alpha for running the tests. (Miroslav Bajtoš)
2016-10-12 18:51:48 -04:00
Miroslav Bajtoš b49818d60e Update deps to loopback 3.0.0 RC 2016-09-22 14:25:34 +02:00
Miroslav Bajtoš d78f1344e2 Deprecate built-in CORS middleware
Push the responsibility of enabling/configuring CORS back to the
application developer.
2016-09-21 11:08:49 +02:00
Miroslav Bajtoš d53a029eee Use loopback@3.0.0-alpha for running the tests. 2016-09-09 11:22:51 +02:00
Miroslav Bajtoš 4714b5bb6a 2.6.0
* Add globalization (Simon Ho)
 * Update URLs in CONTRIBUTING.md (#169) (Ryan Graham)
 * Redirect get http 301 instead of 303 (jannyHou)
 * Add blank lines to separate error-checking and done logic from other logic (Supasate Choochaisri)
 * Ignore copyright in dummy swagger-ui test (Supasate Choochaisri)
 * Upgrade loopback devDependency (Supasate Choochaisri)
 * update copyright notices and license (Ryan Graham)
 * examples launch fix (Alexander Ryzhikov)
2016-09-05 15:00:01 +02:00
Simon Ho 35c93eb59f Add globalization 2016-08-04 00:47:24 -07:00
Supasate Choochaisri 4326d0964b Upgrade loopback devDependency
Signed-off-by: Supasate Choochaisri <supasate.c@gmail.com>
2016-05-06 21:22:35 +07:00
Miroslav Bajtoš 794394dabd 2.5.0
* Add feature to hide disabled remote methods after explorer is initialized (Supasate Choochaisri)
 * More fixes of indentation in index.js (Miroslav Bajtoš)
 * Fix broken indentation (Miroslav Bajtoš)
 * Fix linting errors (Amir Jafarian)
 * Auto-update by eslint --fix (Amir Jafarian)
 * Add eslint infrastructure (Amir Jafarian)
2016-05-02 13:01:11 +02:00
Amir Jafarian c923710ce2 Fix linting errors 2016-04-22 17:18:04 -04:00
Amir Jafarian 144fc8000d Add eslint infrastructure 2016-04-22 17:07:56 -04:00
Raymond Feng 39ce73eee1 2.4.0
* Add `swaggerUI` option to enable/disable UI serving (Raymond Feng)
2016-03-08 13:00:23 -08:00
Miroslav Bajtoš 9192ee638b 2.3.0 2016-02-02 10:45:58 +01:00
Raymond Feng 2821078273 2.2.0
* remove references to ubuntu font (Anthony Ettinger)

 * Update swaggerObject when a new model was added (Pradeep Kumar Tippa)

 * Refer to licenses with a link (Sam Roberts)
2016-01-13 16:10:56 -08:00
Miroslav Bajtoš 011af998a7 2.1.1
* disable Swagger validation badge (Hage Yaapa)
 * Updated "resourcePath: 'swaggerResources'" to "resourcePath: 'swagger.json'" (Dennis Ashby)
 * Use strongloop conventions for licensing (Sam Roberts)
2015-10-01 11:11:14 +02:00
Sam Roberts bfe908bebf Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Miroslav Bajtoš 64993b82d6 2.1.0
* Rename the module to loopback-component-explorer (Rand McKinney)
2015-09-17 10:56:51 +02:00
Rand McKinney 8dae3c7330 Rename the module to loopback-component-explorer 2015-09-17 10:54:02 +02:00
Miroslav Bajtoš 1c8cea1fa4 2.0.1
* Sort APIs and operations. (Samuel Reed)
2015-09-08 18:19:52 +02:00
Miroslav Bajtoš 9d20fe8b7d 2.0.0
* Use loopback-swagger to generate swagger.json (Miroslav Bajtoš)
 * Bump up strong-swagger-ui version to ^21.0.0 (Miroslav Bajtoš)
 * Register loopback-explorer to app (Hage Yaapa)
 * Generate Swagger Spec 2.0 documentation (Miroslav Bajtoš)
 * Upgrade to strong-swagger-ui@21.0 (swagger-ui@2.1) (Miroslav Bajtoš)
 * bump major version (Ryan Graham)
 * Rework the module to a loopback component (Miroslav Bajtoš)
 * Add `opts.host` to customize host of resource URLs (cndreiter)
 * Removed branch-lock, and bumped version (Shelby Sanders)
 * Corrected to propagate properties from existing items object (Shelby Sanders)
 * Use strong-swagger-ui instead of swagger-ui (Miroslav Bajtoš)
 * Remove public/images/throbber.gif (Miroslav Bajtoš)
 * Move CSS customizations to loopbackStyles.css (Miroslav Bajtoš)
 * Added Swagger fields for items and max/min(Items|Length) (Shelby Sanders)
 * Corrected accidental duplication of responseMessages from merge (Shelby Sanders)
 * review comments (Ying Tang)
 * add more tests (Ying Tang)
 * float additionalProperties and description to top (Ying Tang)
 * Convert array to string for summary, note, and description. Fix additionalProperties (Ying Tang)
 * back out changes of id to URI (Ying Tang)
 * Uri id and $ref, join description (Ying Tang)
 * propertyName, not property (Ying Tang)
 * fix resource listing and remove id from each property (Ying Tang)
 * remove id fields from required array (Ying Tang)
 * remove required from sub-schema (Ying Tang)
 * bump version (Ying Tang)
 * add $ref and remove type for models (Ying Tang)
 * Changed Swagger() to omit resources with no content (Shelby Sanders)
 * Added event emission for swaggerResources to support customization (Shelby Sanders)
 * Corrected handling of type for operation, including containers (Shelby Sanders)
 * Corrected handling for absent settings.additionalProperties (Shelby Sanders)
 * Added support for public in order to hide operations from Swagger (Shelby Sanders)
 * added reference to settings for additional properties (Jake Ayala)
 * Protected against non-Model generation requests (Shelby Sanders)
 * Corrected merge issues (Shelby Sanders)
 * Added padding to content well in order to counteract changes in SwaggerUI (Shelby Sanders)
 * Added support for scanning accepts params for Model references (Shelby Sanders)
 * Changed addRoute() to honor X-Forwarded-Host (Shelby Sanders)
 * Removed branch-lock for loopback (Shelby Sanders)
 * Changed to possibly pull model description from ctor.settings (Shelby Sanders)
 * Corrected generateModelDefinition() to scan for model references nested in other models (Shelby Sanders)
 * Corrected prepareDataType() to handle collections and nesting, and changed to always and only use responseMessages (Shelby Sanders)
 * Corrected generateModelDefinition() to scan for model references in remote returns and errors (Shelby Sanders)
 * Corrected default for consumes+produces (Shelby Sanders)
 * Ported prepareDataType() from old strong-remoting:ext/swagger.js (Shelby Sanders)
 * Corrected issues with merge of 2.x changes (Shelby Sanders)
 * Load swagger ui from `swagger-ui` package instead. (Samuel Reed)
 * Ported extensions for more Swagger 1.2 metadata, returns+errors as responseMessages, consumes+produces, and X-Forwarded-Proto for reverse-proxying from HTTPS to HTTP (Shelby Sanders)
 * Upgraded to SwaggerUI 2.0.18 (Shelby Sanders)
 * Added support for toggling Model and Schema, and added support for primitives in StatusCodeView (Shelby Sanders)
 * Ensure Response Content Type is shown regardless of Response Class (Shelby Sanders)
 * Reverted to use special loading logic from loopback-explorer (Shelby Sanders)
 * Updated to latest Swagger-UI for better responseMessage signature handling (Shelby Sanders)
 * Upgraded to latest Swagger-UI for 1.2 support (Shelby Sanders)
 * Correct description of collections of object and nested (Shelby Sanders)
 * Add indication of response being a collection (Shelby Sanders)
2015-09-04 10:47:02 +02:00
Miroslav Bajtoš 42b9f2d7c0 Use loopback-swagger to generate swagger.json 2015-09-03 10:37:09 +02:00
Miroslav Bajtoš a2a85cd319 Bump up strong-swagger-ui version to ^21.0.0 2015-09-01 17:19:57 +02:00
Miroslav Bajtoš 30017c8242 Upgrade to strong-swagger-ui@21.0 (swagger-ui@2.1) 2015-08-13 15:58:35 +02:00
Ryan Graham 8c82f17930 bump major version
This has to be done before release because our staging registry is
essentialy a continusous deployment pipeline that makes use of the
major and minor version of master.
2015-08-10 14:51:28 -07:00
Miroslav Bajtoš 7ee8703ff5 Rework the module to a loopback component
Rework the exported function to conform to the component convention:

    var loopback = require('loopback');
    var explorer = require('loopback-explorer');
    var app = loopback();
    explorer(app, options);

Allow users to mount explorer as a middleware too:

    app.use('/explorer', explorer.routes(app, options));

- drop dependency on express
- drop support for loopback 1.x
- add a new option "mountPath" to specify where to mount the explorer UI
  and swagger metadata
- describe upgrading from v1.x in README
2015-08-10 16:51:03 +02:00
Raymond Feng 89d48f609a Merge branch 'master' of https://github.com/shelbys/loopback-explorer into shelbys-master 2015-07-30 13:52:07 -07:00
Shelby Sanders 732301d709 Removed branch-lock, and bumped version 2015-07-22 15:06:17 -07:00
Shelby Sanders 43e84c4cb1 Corrected to propagate properties from existing items object 2015-07-15 17:17:33 -07:00
Miroslav Bajtoš 073beebcb7 Use strong-swagger-ui instead of swagger-ui 2015-07-10 14:00:52 +02:00