Invalid parameters in path
Description
Your current schema doesn't follow the OpenAPI Specification for path parameters. Ensure that the parameters are correctly defined in the path.
In the OpenAPI 3.0 specification, parameters in the path should be defined using curly braces, like so: /user/{id}/books
.
Remediation
Update your OpenAPI schema to correctly define the path parameters according to the OpenAPI Specification. Ensure that the parameters are correctly defined in the path and that they follow the required format.
REST Specific
Asp_net
Ruby_on_rails
Next_js
Laravel
Express_js
Django
Symfony
Spring_boot
Flask
Nuxt
Fastapi
Configuration
Identifier:
schema/invalid_parameters_in_path
Examples
Ignore this check
checks:
schema/invalid_parameters_in_path:
skip: true
Score
- Escape Severity: INFO
Compliance
OWASP: API9:2023
pci: 1.1
gdpr: Article-32
soc2: CC1
psd2: Article-95
iso27001: A.14.2
nist: SP800-53
fedramp: AC-2
Classification
- CWE: 758
Score
- CVSS_VECTOR: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N