From 02fb5c617977b80982d0303de8e06f8cb9f106a1 Mon Sep 17 00:00:00 2001 From: Steve Mao Date: Sat, 17 Jun 2017 11:28:47 +1000 Subject: [PATCH] user_id is optional for flickr.photosets.getList https://www.flickr.com/services/api/flickr.photosets.getList.html > user_id (Optional) The NSID of the user to get a photoset list for. If none is specified, the calling user is assumed. --- dist/schema.json | 4 ++-- schema/paths/authRequestToken.yaml | 2 +- schema/paths/photosetsGetList.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/schema.json b/dist/schema.json index a044c3f..bee8335 100644 --- a/dist/schema.json +++ b/dist/schema.json @@ -202,7 +202,7 @@ { "name": "user_id", "in": "query", - "required": true, + "required": false, "type": "string" }, { @@ -2619,4 +2619,4 @@ } } } -} +} \ No newline at end of file diff --git a/schema/paths/authRequestToken.yaml b/schema/paths/authRequestToken.yaml index 06efe42..8cc5a92 100644 --- a/schema/paths/authRequestToken.yaml +++ b/schema/paths/authRequestToken.yaml @@ -38,4 +38,4 @@ get: 200: description: OK schema: - type: string \ No newline at end of file + type: string diff --git a/schema/paths/photosetsGetList.yaml b/schema/paths/photosetsGetList.yaml index ba8b3d0..aa67edd 100644 --- a/schema/paths/photosetsGetList.yaml +++ b/schema/paths/photosetsGetList.yaml @@ -10,7 +10,7 @@ get: type: string - name: user_id in: query - required: true + required: false type: string - name: page in: query @@ -35,4 +35,4 @@ get: photosets: type: array items: - $ref: '../definitions/index.yaml#/Album' \ No newline at end of file + $ref: '../definitions/index.yaml#/Album'