Skip to content

Commit

Permalink
Merge pull request #3640 from thivindu/pathrewrite-thivindu-3537
Browse files Browse the repository at this point in the history
Add path rewriting documentation in Interceptor service OpenAPI definition
  • Loading branch information
HeshanSudarshana authored Feb 5, 2025
2 parents 9ea78f7 + 54bb726 commit 3dbcdee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resources/interceptor-service-open-api-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ components:
$ref: "#/components/schemas/Trailers"
trailersToRemove:
$ref: "#/components/schemas/HeaderKeys"
pathToRewrite:
$ref: "#/components/schemas/Path"
body:
$ref: "#/components/schemas/Body"
interceptorContext:
Expand Down Expand Up @@ -248,6 +250,12 @@ components:
example:
content-type: application/xml
content-length: "40"
Path:
title: Path
type: string
description: |
New path that should overwrite the original path
example: /hello/1.0.0/test?foo=bar
Trailers:
title: Trailers
type: object
Expand Down

0 comments on commit 3dbcdee

Please sign in to comment.