Skip to content

Commit

Permalink
fix(specs): remove private beta endpoint from recommend [skip-bc] (ge…
Browse files Browse the repository at this point in the history
…nerated)

algolia/api-clients-automation#4110

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Nov 15, 2024
1 parent 2a0eef2 commit b92f1e0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 202 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,6 @@ public RecommendationsRequest deserialize(JsonParser jp, DeserializationContext
LOGGER.finest("Failed to deserialize oneOf LookingSimilarQuery (error: " + e.getMessage() + ") (type: LookingSimilarQuery)");
}
}
// deserialize RecommendedForYouQuery
if (tree.isObject()) {
try (JsonParser parser = tree.traverse(jp.getCodec())) {
return parser.readValueAs(RecommendedForYouQuery.class);
} catch (Exception e) {
// deserialization failed, continue
LOGGER.finest(
"Failed to deserialize oneOf RecommendedForYouQuery (error: " + e.getMessage() + ") (type: RecommendedForYouQuery)"
);
}
}
throw new AlgoliaRuntimeException(String.format("Failed to deserialize json element: %s", tree));
}

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit b92f1e0

Please sign in to comment.