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 8a91661 commit 1ab8aa1Copy full SHA for 1ab8aa1
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