PathParameterSchema

October 10, 2022 ยท View on GitHub

Category

Data Plane Warning

Applies to

Data Plane OpenAPI specs

Output Message

One of:

  • Path parameter should be defined as type: string.
  • Path parameter should specify a maximum length (maxLength).
  • Path parameter should specify characters allowed (pattern).

Description

Path parameter should be type: string and specify maxLength and pattern.

CreatedAt

June 18, 2022

LastModifiedAt

June 18, 2022

How to fix the violation

Define that path parameter as type: string and specify maxLength and pattern.