1.2.0 • Published 10 months ago
@autorest/fixer v1.2.0
Autorest Fixer
Autorest fixer is a tool to help migrating old pattern previously allowed or automatically fixed JIT in autorest but are not allowed anymore.
Usage
# Install
npm install -g @autorest/fixer
# Run
autorest-fixer path/to/specs/**/*.json
# Run (Dry-run)
autorest-fixer --dry-run path/to/specs/**/*.json
Help
autorest-fixer --help
cli.js <include..>
Start the server
Positionals:
include List of wildcard pattern/folder to search for specs.
[string] [default: []]
Options:
--version Show version number [boolean]
--help Show help [boolean]
-v, --verbose Run with verbose logging level. [boolean]
--debug Run with debug logging level. [boolean]
--level Run with given logging level. [string]
--dry-run Perform a dry run. [boolean]
List of fixes
Code | Description |
---|---|
missing-type-object | When defining a schema with properties many spec were missing the type property all together. Autorest used assume it was type: object . This fixer does go through and fix the issues. |
1.2.0
10 months ago
1.2.0-dev.1
10 months ago
1.1.1
2 years ago
1.1.1-dev.1
2 years ago
1.1.0
3 years ago
1.1.0-dev.1
3 years ago
1.0.0
3 years ago