From 1e09be7f1cf3add6f99f60c85700dc8e53bc7070 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 9 Mar 2026 11:50:17 +0000 Subject: [PATCH] Adding missing starter for Spring REST Docs Closes gh-48289 --- .../spring-boot-dependencies/build.gradle | 1 + settings.gradle | 1 + .../spring-boot-starter-restdocs/build.gradle | 25 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 starter/spring-boot-starter-restdocs/build.gradle diff --git a/platform/spring-boot-dependencies/build.gradle b/platform/spring-boot-dependencies/build.gradle index 43b27122482..9fc293bfcb8 100644 --- a/platform/spring-boot-dependencies/build.gradle +++ b/platform/spring-boot-dependencies/build.gradle @@ -2245,6 +2245,7 @@ bom { "spring-boot-starter-reactor-netty", "spring-boot-starter-restclient", "spring-boot-starter-restclient-test", + "spring-boot-starter-restdocs", "spring-boot-starter-rsocket", "spring-boot-starter-rsocket-test", "spring-boot-starter-security", diff --git a/settings.gradle b/settings.gradle index e3fe924fd04..f243098a9de 100644 --- a/settings.gradle +++ b/settings.gradle @@ -324,6 +324,7 @@ include "starter:spring-boot-starter-r2dbc-test" include "starter:spring-boot-starter-reactor-netty" include "starter:spring-boot-starter-restclient" include "starter:spring-boot-starter-restclient-test" +include "starter:spring-boot-starter-restdocs" include "starter:spring-boot-starter-rsocket" include "starter:spring-boot-starter-rsocket-test" include "starter:spring-boot-starter-security" diff --git a/starter/spring-boot-starter-restdocs/build.gradle b/starter/spring-boot-starter-restdocs/build.gradle new file mode 100644 index 00000000000..be16ac99ccb --- /dev/null +++ b/starter/spring-boot-starter-restdocs/build.gradle @@ -0,0 +1,25 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +plugins { + id "org.springframework.boot.starter" +} + +description = "Starter for using Spring REST Docs" + +dependencies { + api(project(":module:spring-boot-restdocs")) +}