doc-exports/docs/apig/umn/apig_03_0087.html
Chen, Junjie 324aa7d3c4 APIG UMN 20240708 version
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-11-05 15:25:06 +00:00

5.1 KiB

x-apigateway-match-mode

Meaning: Request URL matching mode, which can be NORMAL or SWA.

Scope of effect: Operation Object (2.0)/Operation Object (3.0)

Example:

paths:
  '/path':
    get:
      x-apigateway-match-mode: 'SWA'
Table 1 Parameter description

Parameter

Mandatory

Type

Description

x-apigateway-match-mode

Yes

String

API matching mode. The options include SWA and NORMAL.

  • SWA: prefix match. For example, both /prefix/foo and /prefix/bar match /prefix, but /prefixpart does not match.
  • NORMAL: exact match.