-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
review: Regenerate OpenAPI definition, docs and common code
- Loading branch information
1 parent
73dcee5
commit 8f542c8
Showing
14 changed files
with
1,736 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# AppDefinitionAdminResourceApi | ||
|
||
All URIs are relative to *http://localhost* | ||
|
||
| Method | HTTP request | Description | | ||
|------------- | ------------- | -------------| | ||
| [**serviceAdminAppdefinitionAppDefinitionNamePatch**](AppDefinitionAdminResourceApi.md#serviceAdminAppdefinitionAppDefinitionNamePatch) | **PATCH** /service/admin/appdefinition/{appDefinitionName} | Updates an app definition | | ||
|
||
|
||
<a name="serviceAdminAppdefinitionAppDefinitionNamePatch"></a> | ||
# **serviceAdminAppdefinitionAppDefinitionNamePatch** | ||
> AppDefinition serviceAdminAppdefinitionAppDefinitionNamePatch(appDefinitionName, AppDefinitionUpdateRequest) | ||
Updates an app definition | ||
|
||
Updates an app definition's properties. Allowed properties to update are defined by AppDefinitionUpdateRequest. | ||
|
||
### Parameters | ||
|
||
|Name | Type | Description | Notes | | ||
|------------- | ------------- | ------------- | -------------| | ||
| **appDefinitionName** | **String**| The K8S resource name of the app definition to update. | [default to null] | | ||
| **AppDefinitionUpdateRequest** | [**AppDefinitionUpdateRequest**](../Models/AppDefinitionUpdateRequest.md)| | | | ||
|
||
### Return type | ||
|
||
[**AppDefinition**](../Models/AppDefinition.md) | ||
|
||
### Authorization | ||
|
||
No authorization required | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: application/json | ||
- **Accept**: application/json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# RootAdminResourceApi | ||
|
||
All URIs are relative to *http://localhost* | ||
|
||
| Method | HTTP request | Description | | ||
|------------- | ------------- | -------------| | ||
| [**serviceAdminAppIdGet**](RootAdminResourceApi.md#serviceAdminAppIdGet) | **GET** /service/admin/{appId} | Admin Ping | | ||
|
||
|
||
<a name="serviceAdminAppIdGet"></a> | ||
# **serviceAdminAppIdGet** | ||
> Boolean serviceAdminAppIdGet(appId) | ||
Admin Ping | ||
|
||
Replies with success if the service is available and the user an admin. | ||
|
||
### Parameters | ||
|
||
|Name | Type | Description | Notes | | ||
|------------- | ------------- | ------------- | -------------| | ||
| **appId** | **String**| | [default to null] | | ||
|
||
### Return type | ||
|
||
**Boolean** | ||
|
||
### Authorization | ||
|
||
No authorization required | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: Not defined | ||
- **Accept**: text/plain | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# AppDefinition | ||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
| **apiVersion** | **String** | | [optional] [default to null] | | ||
| **kind** | **String** | | [optional] [default to null] | | ||
| **metadata** | [**ObjectMeta**](ObjectMeta.md) | | [optional] [default to null] | | ||
| **spec** | [**AppDefinitionSpec**](AppDefinitionSpec.md) | | [optional] [default to null] | | ||
| **status** | [**AppDefinitionStatus**](AppDefinitionStatus.md) | | [optional] [default to null] | | ||
| **singular** | **String** | | [optional] [default to null] | | ||
| **crdName** | **String** | | [optional] [default to null] | | ||
| **scope** | **String** | | [optional] [default to null] | | ||
| **plural** | **String** | | [optional] [default to null] | | ||
| **served** | **Boolean** | | [optional] [default to null] | | ||
| **storage** | **Boolean** | | [optional] [default to null] | | ||
| **deprecated** | **Boolean** | | [optional] [default to null] | | ||
| **deprecationWarning** | **String** | | [optional] [default to null] | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# AppDefinitionStatus | ||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
| **operatorStatus** | **String** | | [optional] [default to null] | | ||
| **operatorMessage** | **String** | | [optional] [default to null] | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# AppDefinitionUpdateRequest | ||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
| **appId** | **String** | The App Id of this Theia Cloud instance. Request without a matching Id will be denied. | [default to null] | | ||
| **minInstances** | **Integer** | The minimum number of instances to run. | [optional] [default to null] | | ||
| **maxInstances** | **Integer** | The maximum number of instances to run. | [optional] [default to null] | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ManagedFieldsEntry | ||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
| **apiVersion** | **String** | | [optional] [default to null] | | ||
| **fieldsType** | **String** | | [optional] [default to null] | | ||
| **fieldsV1** | [**Object**](.md) | | [optional] [default to null] | | ||
| **manager** | **String** | | [optional] [default to null] | | ||
| **operation** | **String** | | [optional] [default to null] | | ||
| **subresource** | **String** | | [optional] [default to null] | | ||
| **time** | **String** | | [optional] [default to null] | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# ObjectMeta | ||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
| **annotations** | **Map** | | [optional] [default to null] | | ||
| **creationTimestamp** | **String** | | [optional] [default to null] | | ||
| **deletionGracePeriodSeconds** | **Long** | | [optional] [default to null] | | ||
| **deletionTimestamp** | **String** | | [optional] [default to null] | | ||
| **finalizers** | **List** | | [optional] [default to null] | | ||
| **generateName** | **String** | | [optional] [default to null] | | ||
| **generation** | **Long** | | [optional] [default to null] | | ||
| **labels** | **Map** | | [optional] [default to null] | | ||
| **managedFields** | [**List**](ManagedFieldsEntry.md) | | [optional] [default to null] | | ||
| **name** | **String** | | [optional] [default to null] | | ||
| **namespace** | **String** | | [optional] [default to null] | | ||
| **ownerReferences** | [**List**](OwnerReference.md) | | [optional] [default to null] | | ||
| **resourceVersion** | **String** | | [optional] [default to null] | | ||
| **selfLink** | **String** | | [optional] [default to null] | | ||
| **uid** | **String** | | [optional] [default to null] | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# OwnerReference | ||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
| **apiVersion** | **String** | | [optional] [default to null] | | ||
| **kind** | **String** | | [optional] [default to null] | | ||
| **blockOwnerDeletion** | **Boolean** | | [optional] [default to null] | | ||
| **controller** | **Boolean** | | [optional] [default to null] | | ||
| **name** | **String** | | [optional] [default to null] | | ||
| **uid** | **String** | | [optional] [default to null] | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.