diff --git a/scripts/cts/runCts.ts b/scripts/cts/runCts.ts index 24533c3782..9f6737aa98 100644 --- a/scripts/cts/runCts.ts +++ b/scripts/cts/runCts.ts @@ -23,7 +23,12 @@ async function runCtsOne( const e2eFolder = toAbsolutePath( `tests/output/${language}/${getTestOutputFolder(language)}/e2e`, ); - if ((await exists(e2eFolder)) && (await fsp.readdir(e2eFolder)).length > 0) folders.push('e2e'); + if ( + (await exists(e2eFolder)) && + (await fsp.readdir(e2eFolder)).filter((f) => f !== '__init__.py' && f !== '__pycache__') + .length > 0 + ) + folders.push('e2e'); } if (!excludeUnit) { folders.push('client', 'requests'); diff --git a/specs/recommend/paths/getRecommendations.yml b/specs/recommend/paths/getRecommendations.yml index 4894c50edf..359896c663 100644 --- a/specs/recommend/paths/getRecommendations.yml +++ b/specs/recommend/paths/getRecommendations.yml @@ -41,6 +41,8 @@ post: type: array items: $ref: '../common/schemas/RecommendationsResponse.yml#/recommendationsResults' + required: + - results '400': $ref: '../../common/responses/BadRequest.yml' '402':