Skip to content

Commit 516a31d

Browse files
committed
alias
1 parent 582718a commit 516a31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/{% if has_backend %}backend{% endif %}/src/backend_api/fast_api_exception_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ProblemDetails(BaseModel):
2424
# The vendor extension lets Kiota use this as the exception message.
2525
detail: str = Field(..., json_schema_extra={"x-ms-primary-error-message": True})
2626
instance: str
27-
error_type: str | None = Field(default=None, serialization_alias="errorType")
27+
error_type: str | None = Field(default=None, alias="errorType")
2828

2929

3030
def should_show_error_details() -> bool:

0 commit comments

Comments
 (0)