Updated on 2023-04-06 GMT+08:00

x-apigateway-request-type

Meaning: API request type, which can be public or private.

Scope of effect: Operation Object (2.0)

Example:

paths:
  '/path':
    get:
      x-apigateway-request-type: 'public'
Table 1 Parameter description

Parameter

Mandatory

Type

Description

x-apigateway-request-type

Yes

String

API visibility. The options include public and private.

  • public: The API can be made available for sale.
  • private: The API will not be available for sale.