File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
src/main/java/com/sap/ai/sdk/prompt/registry/client Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 125125 <configuration >
126126 <inputSpec >${project.basedir} /src/main/resources/spec/prompt-registry.yaml</inputSpec >
127127 <apiPackage >com.sap.ai.sdk.prompt.registry.client</apiPackage >
128+ <generateApis >false</generateApis >
128129 <modelPackage >com.sap.ai.sdk.prompt.registry.model</modelPackage >
129130 <additionalProperties >
130131 <pojoBuilderMethodName >create</pojoBuilderMethodName >
Original file line number Diff line number Diff line change @@ -58,6 +58,15 @@ public DefaultApi() {
5858 super (addMixin (new AiCoreService ()));
5959 }
6060
61+ /**
62+ * Instantiates this API class to invoke operations on the Prompt Registry API
63+ *
64+ * @param aiCoreService The configured connectivity instance to AI Core
65+ */
66+ public DefaultApi (@ Nonnull final AiCoreService aiCoreService ) {
67+ super (addMixin (aiCoreService ));
68+ }
69+
6170 private static ApiClient addMixin (AiCoreService service ) {
6271 var destination = service .getBaseDestination ();
6372 var httpRequestFactory = new HttpComponentsClientHttpRequestFactory ();
@@ -90,15 +99,6 @@ interface TemplateMixIn {}
9099 interface ResponseFormat {}
91100 }
92101
93- /**
94- * Instantiates this API class to invoke operations on the Prompt Registry API
95- *
96- * @param aiCoreService The configured connectivity instance to AI Core
97- */
98- public DefaultApi (@ Nonnull final AiCoreService aiCoreService ) {
99- super (aiCoreService .getApiClient ());
100- }
101-
102102 /**
103103 * <b>200</b> - Successful response
104104 *
You can’t perform that action at this time.
0 commit comments