Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: Close #111 Set non required strings fields to NullableString
  • Loading branch information
EliuX committed Apr 27, 2020
commit 19e94bcfe7e11e1d4e95326aa57a6d5f1a784f40
4 changes: 2 additions & 2 deletions time_tracker_api/time_entries/time_entries_namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from commons.data_access_layer.cosmos_db import current_datetime, datetime_str, current_datetime_str
from commons.data_access_layer.database import COMMENTS_MAX_LENGTH
from time_tracker_api.api import common_fields, create_attributes_filter, api, UUID
from time_tracker_api.api import common_fields, create_attributes_filter, api, UUID, NullableString
from time_tracker_api.time_entries.time_entries_model import create_dao

faker = Faker()
Expand Down Expand Up @@ -48,7 +48,7 @@
description='When the user ended doing this activity',
example=current_datetime_str(),
),
'uri': fields.String(
'uri': NullableString(
title='Uniform Resource identifier',
description='Either identifier or locator of a resource in the Internet that helps to understand'
' what this time entry was about. For example, A Jira ticket, a Github issue, a Google document.',
Expand Down