Notable breaking changes: - The swagger output is a single object (JSON response) served at /explorer/swagger.json - Methods with a single return arg without "root:true" flag are expected to produce an object response with a single property now, i.e. `{ data: arg }`. In v1.x, we were treating such arg as if "root:true" was specified. The new behaviour matches the actual implementation in strong-remoting. - The property constraint "length" is translated to "maxLength" now. - `operationId` includes model name now, because ids must be unique - X-Forwarded-* headers are no longer processed, Swagger Spec 2.0 has a way how to specify "use the scheme + host where the doc is served" - opts.omitProtocolInBaseUrl was removed for the same reasons as X-Forwarded-* headers - The deprecated opts.swaggerDistRoot was removed. |
||
---|---|---|
.. | ||
fixtures/dummy-swagger-ui | ||
.jshintrc | ||
explorer.test.js | ||
model-helper.test.js | ||
route-helper.test.js | ||
schema-builder.test.js | ||
swagger.test.js | ||
tag-builder.test.js |