Skip to content

Update rororo ValidationError to be compatible with fastapi / django-ninja ones #151

Description

@playpauseandstop

Currently rororo ValidationError has next format,

interface ValidationError {
  detail: Array<{
    loc: Array<string | number>
    message: string
  }>
}

while fastapi & django-ninja use a bit different format,

interface ValidationError {
  detail: Array<{
    loc: Array<string | number>
    msg: string
    type: string
  }>
}

With that in mind need to update rororo ValidationError to be compatible with other validation errors.

Metadata

Metadata

Labels

featA new featureopenapiIssue or pull request related to OpenAPI code

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions