1.0.0 • Published 7 years ago
swagen-ng2-http v1.0.0
Deprecation notice
The swagen-ng2-http generator has been deprecated and replaced by the swagen-angular (npm) package.
There are breaking changes in the configuration between swagen-ng2-http
and swagen-angular
.
We recommend that you remove the existing configuration and recreate it from scratch.
- Install the
swagen-angular
package, either globally or locally
# Globally
npm install -g swagen-angular
# Locally
npm install --save-dev swagen-angular
- Uninstall the
swagen-ng2-http
package.
# Globally
npm uninstall -g swagen-ng2-http
# Locally
npm uninstall --save-dev swagen-ng2-http
# Check version of globally-installed Swagen
swagen version
# Check version of locally-installed Swagen
node_modules/.bin/swagen version
- From your
swagen.config.json
andswagen.config.js
configuration files, remove any sections that use theswagen-ng2-http
generator.If you are using recent versions of Swagen, you can type
swagen remove <section name>
to remove the section fromswagen.config.json
.
- Use the
swagen init
command to recreate these sections.