Skip to content

Add custom validation rules #347

Open
@abdoulayesy

Description

@abdoulayesy

Thank you for the interesting tool. 👍
I would like to use it in my project but I have a lot of custom rule that I can not validate them with:

  • custom header
  • endpoint security requirements
  • model example instead of model properties example
  • ....
    Is it possible to have a possibility to plug custom rule (in options file for example) ?
    ex: if you have in options
    validateModelxxxxxx: {
    type: fieldType
    validate: boolean
    }
    if validate is true (check if all models have field xxxx and the value is instance of given type)

Have this generic behavior for header, operation and info

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions