diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.dart b/packages/nextcloud/lib/src/nextcloud.openapi.dart index 287a07a3..ad82d30c 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.dart +++ b/packages/nextcloud/lib/src/nextcloud.openapi.dart @@ -1670,7 +1670,7 @@ class NewsArticle { required this.id, required this.guid, required this.guidHash, - required this.url, + this.url, required this.title, this.author, required this.pubDate, @@ -1697,7 +1697,7 @@ class NewsArticle { final String guidHash; - final String url; + final String? url; final String title; diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.g.dart b/packages/nextcloud/lib/src/nextcloud.openapi.g.dart index 1c6f3595..6e83b080 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.g.dart +++ b/packages/nextcloud/lib/src/nextcloud.openapi.g.dart @@ -1002,7 +1002,7 @@ NewsArticle _$NewsArticleFromJson(Map json) => NewsArticle( id: json['id'] as int, guid: json['guid'] as String, guidHash: json['guidHash'] as String, - url: json['url'] as String, + url: json['url'] as String?, title: json['title'] as String, author: json['author'] as String?, pubDate: json['pubDate'] as int, diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.json b/packages/nextcloud/lib/src/nextcloud.openapi.json index 0166ca15..6d290724 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.json +++ b/packages/nextcloud/lib/src/nextcloud.openapi.json @@ -1162,7 +1162,6 @@ "id", "guid", "guidHash", - "url", "title", "pubDate", "body", diff --git a/specs/news.json b/specs/news.json index 2084e50e..770e483d 100644 --- a/specs/news.json +++ b/specs/news.json @@ -144,7 +144,6 @@ "id", "guid", "guidHash", - "url", "title", "pubDate", "body",