Skip to content

On using validatePaths option #118

Open
@WHKL-9

Description

@WHKL-9

Hi, I am trying to use this validatePaths option. Looked into your source code and see you guys are using it with the .startWith() method. Can you provide some concrete examples of how to use that?

An example I was trying=> customer/:id/setup-accounts
I tried the validatePath option but it didn't get validated because it might fail with the startWith method in the validatePath option.
The best-case scenario is that I could want to validate the path inside my yaml/json file and skip the validation for requests that are not in the spec.

Looking forward to your reply and have a nice day!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions