Skip to content

Add custom validation rules#347

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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