ErrorLocation#

class safir.models.ErrorLocation(value)#

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'#