Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 562 Bytes

path-parameter-schema.md

File metadata and controls

33 lines (18 loc) · 562 Bytes

PathParameterSchema

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.