We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473fec3 commit 0addb0cCopy full SHA for 0addb0c
src/eligibility_signposting_api/views/response_models.py
@@ -1,6 +1,6 @@
1
from enum import Enum
2
3
-from pydantic import BaseModel, Field
+from pydantic import BaseModel, Field, HttpUrl
4
5
6
class Status(str, Enum):
@@ -35,7 +35,7 @@ class Action(BaseModel):
35
action_type: str = Field(..., alias="actionType")
36
action_code: str = Field(..., alias="actionCode")
37
description: str
38
- url_link: str = Field(..., alias="urlLink")
+ url_link: HttpUrl = Field(..., alias="urlLink")
39
40
model_config = {"populate_by_name": True}
41
0 commit comments