mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-21 07:37:06 +00:00
update samples
This commit is contained in:
@@ -321,7 +321,7 @@ func NewNullableTime(val *time.Time) *NullableTime {
|
||||
}
|
||||
|
||||
func (v NullableTime) MarshalJSON() ([]byte, error) {
|
||||
return v.value.MarshalJSON()
|
||||
return json.Marshal(v.value)
|
||||
}
|
||||
|
||||
func (v *NullableTime) UnmarshalJSON(src []byte) error {
|
||||
|
||||
Reference in New Issue
Block a user