Skip to content

Commit 3bbc1cc

Browse files
committed
feat: add rest client
1 parent f63758d commit 3bbc1cc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* Copyright 2023 Sven Loesekann
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
package ch.xxx.aidoclibchat.adapter.client;
14+
15+
import org.springframework.stereotype.Component;
16+
import org.springframework.web.client.RestClient;
17+
18+
@Component
19+
public class TmdbRestClient {
20+
private static final String BASE_URL = "get https://api.themoviedb.org/3/";
21+
private final RestClient restClient;
22+
23+
public TmdbRestClient(RestClient restClient) {
24+
this.restClient = restClient;
25+
}
26+
}

0 commit comments

Comments
 (0)