You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,5 +8,5 @@
8
8
- File a PR with meaningful title, description and commit messages
9
9
- Make sure the option "Allow edits from maintainers" in the PR is selected so that the maintainers can update your PRs with minor fixes, if needed.
10
10
- Recommended git settings
11
-
-`git config core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
11
+
-`git config core.autocrlf input` to tell Git to convert CRLF to LF on commit but not the other way around
12
12
- To close an issue (e.g. issue 1542) automatically after a PR is merged, use keywords "fix", "close", "resolve" in the PR description, e.g. `fix #1542`. (Ref: [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
@@ -20,7 +20,7 @@ Compare two OpenAPI specifications (3.x) and render the difference to HTML plain
20
20
# Feature
21
21
22
22
* Supports OpenAPI spec v3.0.
23
-
*Depth comparison of parameters, responses, endpoint, http method (GET,POST,PUT,DELETE...)
23
+
*In-depth comparison of parameters, responses, endpoint, http method (GET,POST,PUT,DELETE...)
24
24
* Supports swagger api Authorization
25
25
* Render difference of property with Expression Language
26
26
* HTML, Markdown, Asciidoc & JSON render
@@ -195,9 +195,9 @@ public class Main {
195
195
196
196
### Path Matching while comparing two OpenAPI paths
197
197
198
-
Path matching controls how paths from the old and new specs are paired during comparison (PathsDiff.java). The default matcher (DefaultPathMatcher) obfuscates path parameter names, meaning `/users/{id}` matches `/users/{userId}`. Default matcher fails on ambiguous signatures if spec contains few paths semantically identical. In case this behaviour is not fitting your use case, you can implement your own matching strategy.
198
+
Path matching controls how paths from the old and new specs are paired during comparison (PathsDiff.java). The default matcher (DefaultPathMatcher) obfuscates path parameter names, meaning `/users/{id}` matches `/users/{userId}`. The default matcher fails on ambiguous signatures ifthe spec contains a few paths semantically identical. In case this behaviour is not fitting your use case, you can implement your own matching strategy.
199
199
200
-
You can plug in a custom matcher via `OpenApiDiffOptions` implementing the `PathMatcher` interface.:
200
+
You can plug in a custom matcher via `OpenApiDiffOptions` implementing the `PathMatcher` interface:
This project uses Java Service Provider Inteface (SPI) so additional extensions can be added.
252
+
This project uses Java Service Provider Interface (SPI) so additional extensions can be added.
253
253
254
254
To build your own extension, you simply need to create a `src/main/resources/META-INF/services/org.openapitools.openapidiff.core.compare.ExtensionDiff` file with the full classname of your implementation.
255
255
Your class must also implement the `org.openapitools.openapidiff.core.compare.ExtensionDiff` interface.
0 commit comments