File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
backend/src/main/java/ch/xxx/aidoclibchat/adapter/client Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments