diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc index b4aec52ca95..5c2db13dfd5 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc @@ -132,7 +132,7 @@ static class Config { return FunctionCallbackWrapper.builder(new MockWeatherService()) .withName("CurrentWeather") // (1) function name .withDescription("Get the current weather in a given location") // (2) function description - .withSchemaType(SchemaType.OPEN_API) // (3) schema type. Compulsory for Gemini function calling. + .withSchemaType(SchemaType.OPEN_API_SCHEMA) // (3) schema type. Compulsory for Gemini function calling. .build(); } ...