-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Reuven Harrison
authored
Oct 28, 2023
1 parent
c79fc60
commit 61335a8
Showing
4 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Changelog | ||
As your API evolves, it will undergo changes. Some of these changes may be "breaking" while others are not. | ||
The changelog provides a list of all significant changes between two versions of the OpenAPI specification, including non-breaking changes. | ||
|
||
To generate the changelog between two specs run oasdiff with the `changelog` command: | ||
``` | ||
oasdiff changelog https://raw.githubusercontent.com/Tufin/oasdiff/main/data/openapi-test1.yaml https://raw.githubusercontent.com/Tufin/oasdiff/main/data/openapi-test3.yaml | ||
``` | ||
|
||
The changes are categorized into three levels: | ||
- `INFO` - Changes which are not breaking yet still important to know about | ||
- `WARN` - Warnings are potential breaking changes which developers should be aware of, but cannot be confirmed programmatically | ||
- `ERR` - Errors are definite breaking changes which should be avoided | ||
|
||
The changelog is actually an extension of the breaking changes output with additional `INFO`-level changes. | ||
See [the breaking-changes documentation](BREAKING-CHANGES.md) for additional options that can be also be used with changelog command. | ||
|
||
### Output Formats | ||
The default changelog format is human-readable text. | ||
You can specify the `--format` flag to output the changelog as json or yaml. | ||
|
||
### Customizing the Changelog | ||
If you encounter a change that isn't logged by oasdiff you may add a [custom check](CUSTOMIZING-CHECKS.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters