Skip to content

Commit 83e23da

Browse files
committed
Remove unused constant
1 parent 7a01970 commit 83e23da

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,6 @@ Here is a [feature comparison between openapi_first and committee](https://gist.
332332

333333
### How can I adapt request paths that don't match my schema?
334334

335-
If your API is deployed at a different path than what's defined in your OpenAPI schema, you can use `env[OpenapiFirst::PATH]` to override the path used for schema matching.
336-
337335
Let's say you have `openapi.yaml` like this:
338336

339337
```yaml

lib/openapi_first.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ module OpenapiFirst
1616
# Key in rack to find instance of Request
1717
REQUEST = 'openapi.request'
1818

19-
# Key in rack to store the alternate path used for schema matching
20-
PATH = 'openapi.path'
21-
2219
FAILURE = :openapi_first_validation_failure
2320

2421
# @return [Configuration]

0 commit comments

Comments
 (0)