Skip to content

Commit 081c4fe

Browse files
author
github-actions
committed
Code are generated by openapi generator
1 parent 8f3854e commit 081c4fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

line-openapi

linebot/v3/webhooks/models/source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
import linebot.v3.webhooks.models
2020

2121

22-
from typing import Optional, Union
22+
from typing import Union
2323
from pydantic.v1 import BaseModel, Field, StrictStr
2424

2525
class Source(BaseModel):
2626
"""
2727
the source of the event.
2828
https://developers.line.biz/en/reference/messaging-api/#source-user
2929
"""
30-
type: Optional[StrictStr] = Field(None, description="source type")
30+
type: StrictStr = Field(..., description="source type")
3131

3232
__properties = ["type"]
3333

0 commit comments

Comments
 (0)