Skip to content

Commit 4b9696c

Browse files
committed
Auto-generate wrapper from updated spec
1 parent 23985c7 commit 4b9696c

125 files changed

Lines changed: 179 additions & 140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
BuiltByBit API
44
- API version: v2
5-
- Build date: 2026-05-05T04:53:38.234106Z[Etc/UTC]
5+
- Build date: 2026-05-12T15:39:14.172923Z[Etc/UTC]
66

77
All operations not tagged 'free' require an active [Ultimate](https://builtbybit.com/account/ultimate) subscription or invite-only permissions.
88

api/openapi.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,32 @@ paths:
164164
maximum: 100
165165
type: number
166166
style: form
167-
- explode: true
167+
- description: Whether or not to exclude resources with dependencies listed.
168+
explode: true
168169
in: query
169170
name: no_dependencies
170171
required: false
171172
schema:
172173
type: boolean
173174
style: form
175+
- description: A comma-separated list of resource IDs to exclude. No filter
176+
will be applied if empty.
177+
explode: true
178+
in: query
179+
name: excluded_resource_ids
180+
required: false
181+
schema:
182+
type: string
183+
style: form
184+
- description: A comma-separated list of creator IDs to exclude. No filter will
185+
be applied if empty.
186+
explode: true
187+
in: query
188+
name: excluded_creator_ids
189+
required: false
190+
schema:
191+
type: string
192+
style: form
174193
responses:
175194
"200":
176195
content:

docs/ResourcesDiscoveryApi.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class Example {
9090

9191
<a id="getResourcesDiscoverResources"></a>
9292
# **getResourcesDiscoverResources**
93-
> GetResourcesDiscoverResources200Response getResourcesDiscoverResources(categoryId, with, filters, resourceIds, page, perPage, noDependencies)
93+
> GetResourcesDiscoverResources200Response getResourcesDiscoverResources(categoryId, with, filters, resourceIds, page, perPage, noDependencies, excludedResourceIds, excludedCreatorIds)
9494
9595
Fetch a list of resources
9696

@@ -124,9 +124,11 @@ public class Example {
124124
String resourceIds = "resourceIds_example"; // String | A comma-separated list of resource IDs to filter on.
125125
Integer page = 1; // Integer | The page number to return.
126126
BigDecimal perPage = new BigDecimal("25"); // BigDecimal | The number of resources to return per page.
127-
Boolean noDependencies = true; // Boolean |
127+
Boolean noDependencies = true; // Boolean | Whether or not to exclude resources with dependencies listed.
128+
String excludedResourceIds = "excludedResourceIds_example"; // String | A comma-separated list of resource IDs to exclude. No filter will be applied if empty.
129+
String excludedCreatorIds = "excludedCreatorIds_example"; // String | A comma-separated list of creator IDs to exclude. No filter will be applied if empty.
128130
try {
129-
GetResourcesDiscoverResources200Response result = apiInstance.getResourcesDiscoverResources(categoryId, with, filters, resourceIds, page, perPage, noDependencies);
131+
GetResourcesDiscoverResources200Response result = apiInstance.getResourcesDiscoverResources(categoryId, with, filters, resourceIds, page, perPage, noDependencies, excludedResourceIds, excludedCreatorIds);
130132
System.out.println(result);
131133
} catch (ApiException e) {
132134
System.err.println("Exception when calling ResourcesDiscoveryApi#getResourcesDiscoverResources");
@@ -149,7 +151,9 @@ public class Example {
149151
| **resourceIds** | **String**| A comma-separated list of resource IDs to filter on. | [optional] |
150152
| **page** | **Integer**| The page number to return. | [optional] [default to 1] |
151153
| **perPage** | **BigDecimal**| The number of resources to return per page. | [optional] [default to 25] |
152-
| **noDependencies** | **Boolean**| | [optional] |
154+
| **noDependencies** | **Boolean**| Whether or not to exclude resources with dependencies listed. | [optional] |
155+
| **excludedResourceIds** | **String**| A comma-separated list of resource IDs to exclude. No filter will be applied if empty. | [optional] |
156+
| **excludedCreatorIds** | **String**| A comma-separated list of creator IDs to exclude. No filter will be applied if empty. | [optional] |
153157

154158
### Return type
155159

src/main/java/org/openapitools/client/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* <p>ApiException class.</p>
2222
*/
2323
@SuppressWarnings("serial")
24-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-05T04:53:38.234106Z[Etc/UTC]")
24+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-12T15:39:14.172923Z[Etc/UTC]")
2525
public class ApiException extends Exception {
2626
private int code = 0;
2727
private Map<String, List<String>> responseHeaders = null;

src/main/java/org/openapitools/client/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package org.openapitools.client;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-05T04:53:38.234106Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-12T15:39:14.172923Z[Etc/UTC]")
1717
public class Configuration {
1818
public static final String VERSION = "v2";
1919

src/main/java/org/openapitools/client/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package org.openapitools.client;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-05T04:53:38.234106Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-12T15:39:14.172923Z[Etc/UTC]")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/org/openapitools/client/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Collection;
1717
import java.util.Iterator;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-05T04:53:38.234106Z[Etc/UTC]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-12T15:39:14.172923Z[Etc/UTC]")
2020
public class StringUtil {
2121
/**
2222
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/org/openapitools/client/api/ResourcesDiscoveryApi.java

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ public okhttp3.Call getResourcesDiscoverCategoriesAsync(String categoryId, Strin
231231
* @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
232232
* @param page The page number to return. (optional, default to 1)
233233
* @param perPage The number of resources to return per page. (optional, default to 25)
234-
* @param noDependencies (optional)
234+
* @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
235+
* @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
236+
* @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
235237
* @param _callback Callback for upload/download progress
236238
* @return Call to execute
237239
* @throws ApiException If fail to serialize the request body object
@@ -243,7 +245,7 @@ public okhttp3.Call getResourcesDiscoverCategoriesAsync(String categoryId, Strin
243245
<tr><td> 5XX </td><td> </td><td> - </td></tr>
244246
</table>
245247
*/
246-
public okhttp3.Call getResourcesDiscoverResourcesCall(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, final ApiCallback _callback) throws ApiException {
248+
public okhttp3.Call getResourcesDiscoverResourcesCall(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, String excludedResourceIds, String excludedCreatorIds, final ApiCallback _callback) throws ApiException {
247249
String basePath = null;
248250
// Operation Servers
249251
String[] localBasePaths = new String[] { };
@@ -296,6 +298,14 @@ public okhttp3.Call getResourcesDiscoverResourcesCall(String categoryId, String
296298
localVarQueryParams.addAll(localVarApiClient.parameterToPair("no_dependencies", noDependencies));
297299
}
298300

301+
if (excludedResourceIds != null) {
302+
localVarQueryParams.addAll(localVarApiClient.parameterToPair("excluded_resource_ids", excludedResourceIds));
303+
}
304+
305+
if (excludedCreatorIds != null) {
306+
localVarQueryParams.addAll(localVarApiClient.parameterToPair("excluded_creator_ids", excludedCreatorIds));
307+
}
308+
299309
final String[] localVarAccepts = {
300310
"application/json"
301311
};
@@ -316,8 +326,8 @@ public okhttp3.Call getResourcesDiscoverResourcesCall(String categoryId, String
316326
}
317327

318328
@SuppressWarnings("rawtypes")
319-
private okhttp3.Call getResourcesDiscoverResourcesValidateBeforeCall(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, final ApiCallback _callback) throws ApiException {
320-
return getResourcesDiscoverResourcesCall(categoryId, with, filters, resourceIds, page, perPage, noDependencies, _callback);
329+
private okhttp3.Call getResourcesDiscoverResourcesValidateBeforeCall(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, String excludedResourceIds, String excludedCreatorIds, final ApiCallback _callback) throws ApiException {
330+
return getResourcesDiscoverResourcesCall(categoryId, with, filters, resourceIds, page, perPage, noDependencies, excludedResourceIds, excludedCreatorIds, _callback);
321331

322332
}
323333

@@ -330,7 +340,9 @@ private okhttp3.Call getResourcesDiscoverResourcesValidateBeforeCall(String cate
330340
* @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
331341
* @param page The page number to return. (optional, default to 1)
332342
* @param perPage The number of resources to return per page. (optional, default to 25)
333-
* @param noDependencies (optional)
343+
* @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
344+
* @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
345+
* @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
334346
* @return GetResourcesDiscoverResources200Response
335347
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
336348
* @http.response.details
@@ -341,8 +353,8 @@ private okhttp3.Call getResourcesDiscoverResourcesValidateBeforeCall(String cate
341353
<tr><td> 5XX </td><td> </td><td> - </td></tr>
342354
</table>
343355
*/
344-
public GetResourcesDiscoverResources200Response getResourcesDiscoverResources(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies) throws ApiException {
345-
ApiResponse<GetResourcesDiscoverResources200Response> localVarResp = getResourcesDiscoverResourcesWithHttpInfo(categoryId, with, filters, resourceIds, page, perPage, noDependencies);
356+
public GetResourcesDiscoverResources200Response getResourcesDiscoverResources(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, String excludedResourceIds, String excludedCreatorIds) throws ApiException {
357+
ApiResponse<GetResourcesDiscoverResources200Response> localVarResp = getResourcesDiscoverResourcesWithHttpInfo(categoryId, with, filters, resourceIds, page, perPage, noDependencies, excludedResourceIds, excludedCreatorIds);
346358
return localVarResp.getData();
347359
}
348360

@@ -355,7 +367,9 @@ public GetResourcesDiscoverResources200Response getResourcesDiscoverResources(St
355367
* @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
356368
* @param page The page number to return. (optional, default to 1)
357369
* @param perPage The number of resources to return per page. (optional, default to 25)
358-
* @param noDependencies (optional)
370+
* @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
371+
* @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
372+
* @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
359373
* @return ApiResponse&lt;GetResourcesDiscoverResources200Response&gt;
360374
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
361375
* @http.response.details
@@ -366,8 +380,8 @@ public GetResourcesDiscoverResources200Response getResourcesDiscoverResources(St
366380
<tr><td> 5XX </td><td> </td><td> - </td></tr>
367381
</table>
368382
*/
369-
public ApiResponse<GetResourcesDiscoverResources200Response> getResourcesDiscoverResourcesWithHttpInfo(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies) throws ApiException {
370-
okhttp3.Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall(categoryId, with, filters, resourceIds, page, perPage, noDependencies, null);
383+
public ApiResponse<GetResourcesDiscoverResources200Response> getResourcesDiscoverResourcesWithHttpInfo(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, String excludedResourceIds, String excludedCreatorIds) throws ApiException {
384+
okhttp3.Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall(categoryId, with, filters, resourceIds, page, perPage, noDependencies, excludedResourceIds, excludedCreatorIds, null);
371385
Type localVarReturnType = new TypeToken<GetResourcesDiscoverResources200Response>(){}.getType();
372386
return localVarApiClient.execute(localVarCall, localVarReturnType);
373387
}
@@ -381,7 +395,9 @@ public ApiResponse<GetResourcesDiscoverResources200Response> getResourcesDiscove
381395
* @param resourceIds A comma-separated list of resource IDs to filter on. (optional)
382396
* @param page The page number to return. (optional, default to 1)
383397
* @param perPage The number of resources to return per page. (optional, default to 25)
384-
* @param noDependencies (optional)
398+
* @param noDependencies Whether or not to exclude resources with dependencies listed. (optional)
399+
* @param excludedResourceIds A comma-separated list of resource IDs to exclude. No filter will be applied if empty. (optional)
400+
* @param excludedCreatorIds A comma-separated list of creator IDs to exclude. No filter will be applied if empty. (optional)
385401
* @param _callback The callback to be executed when the API call finishes
386402
* @return The request call
387403
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -393,9 +409,9 @@ public ApiResponse<GetResourcesDiscoverResources200Response> getResourcesDiscove
393409
<tr><td> 5XX </td><td> </td><td> - </td></tr>
394410
</table>
395411
*/
396-
public okhttp3.Call getResourcesDiscoverResourcesAsync(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, final ApiCallback<GetResourcesDiscoverResources200Response> _callback) throws ApiException {
412+
public okhttp3.Call getResourcesDiscoverResourcesAsync(String categoryId, String with, Object filters, String resourceIds, Integer page, BigDecimal perPage, Boolean noDependencies, String excludedResourceIds, String excludedCreatorIds, final ApiCallback<GetResourcesDiscoverResources200Response> _callback) throws ApiException {
397413

398-
okhttp3.Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall(categoryId, with, filters, resourceIds, page, perPage, noDependencies, _callback);
414+
okhttp3.Call localVarCall = getResourcesDiscoverResourcesValidateBeforeCall(categoryId, with, filters, resourceIds, page, perPage, noDependencies, excludedResourceIds, excludedCreatorIds, _callback);
399415
Type localVarReturnType = new TypeToken<GetResourcesDiscoverResources200Response>(){}.getType();
400416
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
401417
return localVarCall;

src/main/java/org/openapitools/client/auth/ApiKeyAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import java.util.Map;
2121
import java.util.List;
2222

23-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-05T04:53:38.234106Z[Etc/UTC]")
23+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-12T15:39:14.172923Z[Etc/UTC]")
2424
public class ApiKeyAuth implements Authentication {
2525
private final String location;
2626
private final String paramName;

src/main/java/org/openapitools/client/auth/HttpBearerAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import java.util.Optional;
2323
import java.util.function.Supplier;
2424

25-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-05T04:53:38.234106Z[Etc/UTC]")
25+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-12T15:39:14.172923Z[Etc/UTC]")
2626
public class HttpBearerAuth implements Authentication {
2727
private final String scheme;
2828
private Supplier<String> tokenSupplier;

0 commit comments

Comments
 (0)