Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Feb 4, 2024
1 parent a78ad13 commit 30a4a75
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions COMMON-PARAMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Path-level parameters are inherited by all operations of that path.
A typical use case are the GET/PUT/PATCH/DELETE operations that manipulate a resource accessed via a path parameter.

### There are two ways to handle Common Parameters in oasdiff
1. By default, oasdiff compares path parameters and operation parameters seperately.
1. By default, oasdiff compares path parameters and operation parameters separately.
2. The `--flatten-params` merges common parameters from the path level into the operation level before running the diff.

For example, this command outputs two breaking changes:
Expand All @@ -30,7 +30,3 @@ Adding the `--flatten-params` eliminates the errors:
```
oasdiff changelog data/common-params/params_in_path.yaml data/common-params/params_in_op.yaml --flatten-params
```




0 comments on commit 30a4a75

Please sign in to comment.