Skip to content

Commit

Permalink
update openapi-client
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmattig committed Oct 29, 2024
1 parent 9d0becc commit 91802b2
Show file tree
Hide file tree
Showing 32 changed files with 2,042 additions and 3 deletions.
174 changes: 174 additions & 0 deletions .generation/input/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,45 @@
}
},
"/layerDb/collections/{collection}": {
"put": {
"tags": [
"Layers"
],
"summary": "Update a collection",
"operationId": "update_collection",
"parameters": [
{
"name": "collection",
"in": "path",
"description": "Layer collection id",
"required": true,
"schema": {
"$ref": "#/components/schemas/LayerCollectionId"
},
"example": "05102bb3-a855-4a37-8a8a-30026a91fef1"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateLayerCollection"
}
}
},
"required": true
},
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"session_token": []
}
]
},
"delete": {
"tags": [
"Layers"
Expand Down Expand Up @@ -1421,6 +1460,75 @@
]
}
},
"/layerDb/layers/{layer}": {
"put": {
"tags": [
"Layers"
],
"summary": "Update a layer",
"operationId": "update_layer",
"parameters": [
{
"name": "layer",
"in": "path",
"description": "Layer id",
"required": true,
"schema": {
"$ref": "#/components/schemas/LayerId"
},
"example": "05102bb3-a855-4a37-8a8a-30026a91fef1"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateLayer"
}
}
},
"required": true
},
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"session_token": []
}
]
},
"delete": {
"tags": [
"Layers"
],
"summary": "Remove a collection",
"operationId": "remove_layer",
"parameters": [
{
"name": "layer",
"in": "path",
"description": "Layer id",
"required": true,
"schema": {
"$ref": "#/components/schemas/LayerId"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"session_token": []
}
]
}
},
"/layers/collections": {
"get": {
"tags": [
Expand Down Expand Up @@ -9026,6 +9134,72 @@
}
}
},
"UpdateLayer": {
"type": "object",
"required": [
"name",
"description",
"workflow"
],
"properties": {
"description": {
"type": "string",
"example": "Example layer description"
},
"metadata": {
"type": "object",
"description": "metadata used for loading the data",
"additionalProperties": {
"type": "string"
}
},
"name": {
"type": "string",
"example": "Example Layer"
},
"properties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Property"
},
"description": "properties, for instance, to be rendered in the UI"
},
"symbology": {
"allOf": [
{
"$ref": "#/components/schemas/Symbology"
}
],
"nullable": true
},
"workflow": {
"$ref": "#/components/schemas/Workflow"
}
}
},
"UpdateLayerCollection": {
"type": "object",
"required": [
"name",
"description"
],
"properties": {
"description": {
"type": "string",
"example": "A description for an example collection"
},
"name": {
"type": "string",
"example": "Example Collection"
},
"properties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Property"
}
}
}
},
"UpdateProject": {
"type": "object",
"required": [
Expand Down
6 changes: 6 additions & 0 deletions python/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ docs/TypedVectorResultDescriptor.md
docs/UnitlessMeasurement.md
docs/UnixTimeStampType.md
docs/UpdateDataset.md
docs/UpdateLayer.md
docs/UpdateLayerCollection.md
docs/UpdateProject.md
docs/UpdateQuota.md
docs/UploadFileLayersResponse.md
Expand Down Expand Up @@ -449,6 +451,8 @@ geoengine_openapi_client/models/typed_vector_result_descriptor.py
geoengine_openapi_client/models/unitless_measurement.py
geoengine_openapi_client/models/unix_time_stamp_type.py
geoengine_openapi_client/models/update_dataset.py
geoengine_openapi_client/models/update_layer.py
geoengine_openapi_client/models/update_layer_collection.py
geoengine_openapi_client/models/update_project.py
geoengine_openapi_client/models/update_quota.py
geoengine_openapi_client/models/upload_file_layers_response.py
Expand Down Expand Up @@ -686,6 +690,8 @@ test/test_typed_vector_result_descriptor.py
test/test_unitless_measurement.py
test/test_unix_time_stamp_type.py
test/test_update_dataset.py
test/test_update_layer.py
test/test_update_layer_collection.py
test/test_update_project.py
test/test_update_quota.py
test/test_upload_file_layers_response.py
Expand Down
5 changes: 5 additions & 0 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ Class | Method | HTTP request | Description
*LayersApi* | [**provider_capabilities_handler**](docs/LayersApi.md#provider_capabilities_handler) | **GET** /layers/{provider}/capabilities |
*LayersApi* | [**remove_collection**](docs/LayersApi.md#remove_collection) | **DELETE** /layerDb/collections/{collection} | Remove a collection
*LayersApi* | [**remove_collection_from_collection**](docs/LayersApi.md#remove_collection_from_collection) | **DELETE** /layerDb/collections/{parent}/collections/{collection} | Delete a collection from a collection
*LayersApi* | [**remove_layer**](docs/LayersApi.md#remove_layer) | **DELETE** /layerDb/layers/{layer} | Remove a collection
*LayersApi* | [**remove_layer_from_collection**](docs/LayersApi.md#remove_layer_from_collection) | **DELETE** /layerDb/collections/{collection}/layers/{layer} | Remove a layer from a collection
*LayersApi* | [**search_handler**](docs/LayersApi.md#search_handler) | **GET** /layers/collections/search/{provider}/{collection} | Searches the contents of the collection of the given provider
*LayersApi* | [**update_collection**](docs/LayersApi.md#update_collection) | **PUT** /layerDb/collections/{collection} | Update a collection
*LayersApi* | [**update_layer**](docs/LayersApi.md#update_layer) | **PUT** /layerDb/layers/{layer} | Update a layer
*MLApi* | [**add_ml_model**](docs/MLApi.md#add_ml_model) | **POST** /ml/models | Create a new ml model.
*MLApi* | [**get_ml_model**](docs/MLApi.md#get_ml_model) | **GET** /ml/models/{model_name} | Get ml model by name.
*MLApi* | [**list_ml_models**](docs/MLApi.md#list_ml_models) | **GET** /ml/models | List ml models.
Expand Down Expand Up @@ -372,6 +375,8 @@ Class | Method | HTTP request | Description
- [UnitlessMeasurement](docs/UnitlessMeasurement.md)
- [UnixTimeStampType](docs/UnixTimeStampType.md)
- [UpdateDataset](docs/UpdateDataset.md)
- [UpdateLayer](docs/UpdateLayer.md)
- [UpdateLayerCollection](docs/UpdateLayerCollection.md)
- [UpdateProject](docs/UpdateProject.md)
- [UpdateQuota](docs/UpdateQuota.md)
- [UploadFileLayersResponse](docs/UploadFileLayersResponse.md)
Expand Down
2 changes: 2 additions & 0 deletions python/geoengine_openapi_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@
from geoengine_openapi_client.models.unitless_measurement import UnitlessMeasurement
from geoengine_openapi_client.models.unix_time_stamp_type import UnixTimeStampType
from geoengine_openapi_client.models.update_dataset import UpdateDataset
from geoengine_openapi_client.models.update_layer import UpdateLayer
from geoengine_openapi_client.models.update_layer_collection import UpdateLayerCollection
from geoengine_openapi_client.models.update_project import UpdateProject
from geoengine_openapi_client.models.update_quota import UpdateQuota
from geoengine_openapi_client.models.upload_file_layers_response import UploadFileLayersResponse
Expand Down
Loading

0 comments on commit 91802b2

Please sign in to comment.