0b17811546
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. |
||
---|---|---|
.. | ||
model-helper.js | ||
route-helper.js | ||
schema-builder.js | ||
swagger.js | ||
tag-builder.js | ||
type-converter.js | ||
type-registry.js | ||
url-join.js |