ErrorLocation

class safir.models.ErrorLocation(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: str, Enum

Possible locations for an error.

The first element of loc in ErrorDetail should be chosen from one of these values.

Attributes Summary

body

header

path

query

Attributes Documentation

body = 'body'
header = 'header'
path = 'path'
query = 'query'