Skip to content

Commit

Permalink
fix(specs): getObject return object (#3446)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Jul 30, 2024
1 parent b4fd22c commit 8fbbd5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions scripts/buildClients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ async function buildLanguage(
break;
case 'javascript':
await run('YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install', { cwd });
if (playground) {
await run('cd node && yarn build', { cwd });
} else {
if (!playground) {
const packageNames = gens.map(({ additionalProperties: { packageName } }) =>
packageName === 'algoliasearch' ? packageName : `@algolia/${packageName}`,
);
Expand Down
3 changes: 0 additions & 3 deletions specs/search/paths/objects/object.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@ get:
content:
application/json:
schema:
title: getObjectResponse
type: object
description: The requested record.
additionalProperties:
$ref: 'common/schemas.yml#/attribute'
'400':
$ref: '../../../common/responses/BadRequest.yml'
'402':
Expand Down

0 comments on commit 8fbbd5e

Please sign in to comment.