OasSecuritySchemeApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteOasSecurityScheme | DELETE OasSecuritySchemeApi | Delete a OasSecurityScheme. |
deleteOasSecurityScheme
Void
deleteOasSecurityScheme(id)
Delete a OasSecurityScheme.
Deletes a specific OasSecurityScheme.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasSecuritySchemeApi;
OasSecuritySchemeApi apiInstance = new OasSecuritySchemeApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the OasSecurityScheme.
try {
Void result = apiInstance.deleteOasSecurityScheme(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasSecuritySchemeApi#deleteOasSecurityScheme");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the OasSecurityScheme. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getOasSecurityScheme
OasSecurityScheme
getOasSecurityScheme(id)
Retrieve a single OasSecurityScheme
Retrieves a single OasSecurityScheme for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasSecuritySchemeApi;
OasSecuritySchemeApi apiInstance = new OasSecuritySchemeApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the OasSecurityScheme.
try {
OasSecurityScheme result = apiInstance.getOasSecurityScheme(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasSecuritySchemeApi#getOasSecurityScheme");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the OasSecurityScheme. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getOasSecuritySchemeList
OasSecurityScheme
getOasSecuritySchemeList()
Retrieve a list of OasSecuritySchemes
Retrieves a list of OasSecuritySchemes.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasSecuritySchemeApi;
OasSecuritySchemeApi apiInstance = new OasSecuritySchemeApi();
try {
OasSecurityScheme result = apiInstance.getOasSecuritySchemeList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasSecuritySchemeApi#getOasSecuritySchemeList");
e.printStackTrace();
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postOasSecurityScheme
OasSecurityScheme
postOasSecurityScheme(oasSecurityScheme)
Create a new OasSecurityScheme
Creates a new OasSecurityScheme.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasSecuritySchemeApi;
OasSecuritySchemeApi apiInstance = new OasSecuritySchemeApi();
OasSecurityScheme oasSecurityScheme = new OasSecurityScheme(); // OasSecurityScheme | OasSecurityScheme details.
try {
OasSecurityScheme result = apiInstance.postOasSecurityScheme(oasSecurityScheme);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasSecuritySchemeApi#postOasSecurityScheme");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
oasSecurityScheme | OasSecurityScheme | OasSecurityScheme details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateOasSecurityScheme
OasSecurityScheme
updateOasSecurityScheme(idoasSecurityScheme)
Update an existing OasSecurityScheme
Updates an existing OasSecurityScheme.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OasSecuritySchemeApi;
OasSecuritySchemeApi apiInstance = new OasSecuritySchemeApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the OasSecurityScheme.
OasSecurityScheme oasSecurityScheme = new OasSecurityScheme(); // OasSecurityScheme | Updated OasSecurityScheme details.
try {
OasSecurityScheme result = apiInstance.updateOasSecurityScheme(idoasSecurityScheme);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OasSecuritySchemeApi#updateOasSecurityScheme");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the OasSecurityScheme. | |
oasSecurityScheme | OasSecurityScheme | Updated OasSecurityScheme details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
~ | value |
---|---|
GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT |
API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
GENERATED DATE | 2025-04-09T20:27:13.881184-07:00[America/Los_Angeles] |