Skip to content

Commit

Permalink
Merge pull request #146 from christianhelle/source-generator-docs
Browse files Browse the repository at this point in the history
Add matchPath option in example .refitter file in README
  • Loading branch information
christianhelle authored Sep 10, 2023
2 parents 34fed9d + 468a643 commit 98628d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ The following is an example `.refitter` file
"Pet",
"Store",
"User"
],
"matchPath": [ // Optional. Only include Paths that match the provided regular expression
"^/pet/.*",
"^/store/.*",
]
}
```
Expand Down
4 changes: 4 additions & 0 deletions src/Refitter.SourceGenerator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ The following is an example `.refitter` file
"Pet",
"Store",
"User"
],
"matchPath": [ // Optional. Only include Paths that match the provided regular expression
"^/pet/.*",
"^/store/.*",
]
}
```
Expand Down

0 comments on commit 98628d4

Please sign in to comment.