Skip to content

Commit

Permalink
Bumped client-sdk to v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrasingh committed Aug 12, 2024
1 parent 024ad61 commit 0179c15
Show file tree
Hide file tree
Showing 303 changed files with 763 additions and 762 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions contrib/client-sdk/csharp/GeoproxClient.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GeoproxClient", "src\GeoproxClient\GeoproxClient.csproj", "{EA0BDE22-9E12-4B67-A138-C79A6D7EB940}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GeoproxClient", "src\GeoproxClient\GeoproxClient.csproj", "{F2DCA71C-3375-4A7F-9E76-A73A2D7E572D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GeoproxClient.Test", "src\GeoproxClient.Test\GeoproxClient.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EA0BDE22-9E12-4B67-A138-C79A6D7EB940}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA0BDE22-9E12-4B67-A138-C79A6D7EB940}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA0BDE22-9E12-4B67-A138-C79A6D7EB940}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EA0BDE22-9E12-4B67-A138-C79A6D7EB940}.Release|Any CPU.Build.0 = Release|Any CPU
{F2DCA71C-3375-4A7F-9E76-A73A2D7E572D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F2DCA71C-3375-4A7F-9E76-A73A2D7E572D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F2DCA71C-3375-4A7F-9E76-A73A2D7E572D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F2DCA71C-3375-4A7F-9E76-A73A2D7E572D}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
26 changes: 13 additions & 13 deletions contrib/client-sdk/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Geoprox server implementation providing a HTTP API for geospatial queries and po

This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.4.1
- SDK version: 0.4.1
- API version: 0.4.2
- SDK version: 0.4.2
- Generator version: 7.7.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen

Expand Down Expand Up @@ -114,17 +114,17 @@ All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*GeohashApiApi* | [**DecodeGeohash**](docs/GeohashApiApi.md#decodegeohash) | **GET** /api/v1/geohash/{ghash}/ | Decode geohash into coordinates.
*GeohashApiApi* | [**EncodeLatlng**](docs/GeohashApiApi.md#encodelatlng) | **GET** /api/v1/geohash/ | Encode coordinates into geohash
*GeohashApiApi* | [**GetNeighbors**](docs/GeohashApiApi.md#getneighbors) | **GET** /api/v1/geohash/{ghash}/neighbors/ | Neighboring regions
*GeoshardApiApi* | [**CreateIndex**](docs/GeoshardApiApi.md#createindex) | **POST** /api/v1/shard/{index}/ | Create geospatial index
*GeoshardApiApi* | [**DropIndex**](docs/GeoshardApiApi.md#dropindex) | **DELETE** /api/v1/shard/{index}/ | Deletes geospatial index
*GeoshardApiApi* | [**InsertKey**](docs/GeoshardApiApi.md#insertkey) | **PUT** /api/v1/shard/{index}/ | Insert key into index
*GeoshardApiApi* | [**InsertKeyBatch**](docs/GeoshardApiApi.md#insertkeybatch) | **PUT** /api/v1/shard/{index}/batch/ | Insert multiple keys into index
*GeoshardApiApi* | [**QueryRange**](docs/GeoshardApiApi.md#queryrange) | **GET** /api/v1/shard/{index}/ | Search index for objects nearby
*GeoshardApiApi* | [**QueryRangeMany**](docs/GeoshardApiApi.md#queryrangemany) | **GET** /api/v1/shard/ | Search multiple indices for objects nearby
*GeoshardApiApi* | [**RemoveKey**](docs/GeoshardApiApi.md#removekey) | **PATCH** /api/v1/shard/{index}/ | Remove key from index
*GeoshardApiApi* | [**RemoveKeyBatch**](docs/GeoshardApiApi.md#removekeybatch) | **PATCH** /api/v1/shard/{index}/batch/ | Remove multiple keys from index
*GeohashApiApi* | [**DecodeGeohash**](docs/GeohashApiApi.md#decodegeohash) | **GET** /api/v1/geohash/{ghash} | Decode geohash into coordinates.
*GeohashApiApi* | [**EncodeLatlng**](docs/GeohashApiApi.md#encodelatlng) | **GET** /api/v1/geohash | Encode coordinates into geohash
*GeohashApiApi* | [**GetNeighbors**](docs/GeohashApiApi.md#getneighbors) | **GET** /api/v1/geohash/{ghash}/neighbors | Neighboring regions
*GeoshardApiApi* | [**CreateIndex**](docs/GeoshardApiApi.md#createindex) | **POST** /api/v1/shard/{index} | Create geospatial index
*GeoshardApiApi* | [**DropIndex**](docs/GeoshardApiApi.md#dropindex) | **DELETE** /api/v1/shard/{index} | Deletes geospatial index
*GeoshardApiApi* | [**InsertKey**](docs/GeoshardApiApi.md#insertkey) | **PUT** /api/v1/shard/{index} | Insert key into index
*GeoshardApiApi* | [**InsertKeyBatch**](docs/GeoshardApiApi.md#insertkeybatch) | **PUT** /api/v1/shard/{index}/batch | Insert multiple keys into index
*GeoshardApiApi* | [**QueryRange**](docs/GeoshardApiApi.md#queryrange) | **GET** /api/v1/shard/{index} | Search index for objects nearby
*GeoshardApiApi* | [**QueryRangeMany**](docs/GeoshardApiApi.md#queryrangemany) | **GET** /api/v1/shard | Search multiple indices for objects nearby
*GeoshardApiApi* | [**RemoveKey**](docs/GeoshardApiApi.md#removekey) | **PATCH** /api/v1/shard/{index} | Remove key from index
*GeoshardApiApi* | [**RemoveKeyBatch**](docs/GeoshardApiApi.md#removekeybatch) | **PATCH** /api/v1/shard/{index}/batch | Remove multiple keys from index


<a id="documentation-for-models"></a>
Expand Down
14 changes: 7 additions & 7 deletions contrib/client-sdk/csharp/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ info:
license:
name: MIT OR Apache-2.0
title: geoprox-server
version: 0.4.1
version: 0.4.2
servers:
- url: /
tags:
- description: Geospatial index API
name: Geoprox
paths:
/api/v1/geohash/:
/api/v1/geohash:
get:
description: "Encode coordinates by query params, returns geohash."
operationId: encode_latlng
Expand Down Expand Up @@ -57,7 +57,7 @@ paths:
summary: Encode coordinates into geohash
tags:
- geohash_api
/api/v1/geohash/{ghash}/:
/api/v1/geohash/{ghash}:
get:
description: "Decode geohash by path param, returns coordinates with precision\
\ estimates."
Expand All @@ -81,7 +81,7 @@ paths:
summary: Decode geohash into coordinates.
tags:
- geohash_api
/api/v1/geohash/{ghash}/neighbors/:
/api/v1/geohash/{ghash}/neighbors:
get:
description: Returns geohash neighbors in all cardinal directions.
operationId: get_neighbors
Expand All @@ -104,7 +104,7 @@ paths:
summary: Neighboring regions
tags:
- geohash_api
/api/v1/shard/:
/api/v1/shard:
get:
description: Search geospatial many indices for all keys within some distance
operationId: query_range_many
Expand Down Expand Up @@ -177,7 +177,7 @@ paths:
summary: Search multiple indices for objects nearby
tags:
- geoshard_api
/api/v1/shard/{index}/:
/api/v1/shard/{index}:
delete:
description: Drop index. All keys will be lost
operationId: drop_index
Expand Down Expand Up @@ -350,7 +350,7 @@ paths:
summary: Insert key into index
tags:
- geoshard_api
/api/v1/shard/{index}/batch/:
/api/v1/shard/{index}/batch:
patch:
description: Removes multiple keys from geospatial index
operationId: remove_key_batch
Expand Down
6 changes: 3 additions & 3 deletions contrib/client-sdk/csharp/docs/GeohashApiApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All URIs are relative to *http://localhost*

| Method | HTTP request | Description |
|--------|--------------|-------------|
| [**DecodeGeohash**](GeohashApiApi.md#decodegeohash) | **GET** /api/v1/geohash/{ghash}/ | Decode geohash into coordinates. |
| [**EncodeLatlng**](GeohashApiApi.md#encodelatlng) | **GET** /api/v1/geohash/ | Encode coordinates into geohash |
| [**GetNeighbors**](GeohashApiApi.md#getneighbors) | **GET** /api/v1/geohash/{ghash}/neighbors/ | Neighboring regions |
| [**DecodeGeohash**](GeohashApiApi.md#decodegeohash) | **GET** /api/v1/geohash/{ghash} | Decode geohash into coordinates. |
| [**EncodeLatlng**](GeohashApiApi.md#encodelatlng) | **GET** /api/v1/geohash | Encode coordinates into geohash |
| [**GetNeighbors**](GeohashApiApi.md#getneighbors) | **GET** /api/v1/geohash/{ghash}/neighbors | Neighboring regions |

<a id="decodegeohash"></a>
# **DecodeGeohash**
Expand Down
16 changes: 8 additions & 8 deletions contrib/client-sdk/csharp/docs/GeoshardApiApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ All URIs are relative to *http://localhost*

| Method | HTTP request | Description |
|--------|--------------|-------------|
| [**CreateIndex**](GeoshardApiApi.md#createindex) | **POST** /api/v1/shard/{index}/ | Create geospatial index |
| [**DropIndex**](GeoshardApiApi.md#dropindex) | **DELETE** /api/v1/shard/{index}/ | Deletes geospatial index |
| [**InsertKey**](GeoshardApiApi.md#insertkey) | **PUT** /api/v1/shard/{index}/ | Insert key into index |
| [**InsertKeyBatch**](GeoshardApiApi.md#insertkeybatch) | **PUT** /api/v1/shard/{index}/batch/ | Insert multiple keys into index |
| [**QueryRange**](GeoshardApiApi.md#queryrange) | **GET** /api/v1/shard/{index}/ | Search index for objects nearby |
| [**QueryRangeMany**](GeoshardApiApi.md#queryrangemany) | **GET** /api/v1/shard/ | Search multiple indices for objects nearby |
| [**RemoveKey**](GeoshardApiApi.md#removekey) | **PATCH** /api/v1/shard/{index}/ | Remove key from index |
| [**RemoveKeyBatch**](GeoshardApiApi.md#removekeybatch) | **PATCH** /api/v1/shard/{index}/batch/ | Remove multiple keys from index |
| [**CreateIndex**](GeoshardApiApi.md#createindex) | **POST** /api/v1/shard/{index} | Create geospatial index |
| [**DropIndex**](GeoshardApiApi.md#dropindex) | **DELETE** /api/v1/shard/{index} | Deletes geospatial index |
| [**InsertKey**](GeoshardApiApi.md#insertkey) | **PUT** /api/v1/shard/{index} | Insert key into index |
| [**InsertKeyBatch**](GeoshardApiApi.md#insertkeybatch) | **PUT** /api/v1/shard/{index}/batch | Insert multiple keys into index |
| [**QueryRange**](GeoshardApiApi.md#queryrange) | **GET** /api/v1/shard/{index} | Search index for objects nearby |
| [**QueryRangeMany**](GeoshardApiApi.md#queryrangemany) | **GET** /api/v1/shard | Search multiple indices for objects nearby |
| [**RemoveKey**](GeoshardApiApi.md#removekey) | **PATCH** /api/v1/shard/{index} | Remove key from index |
| [**RemoveKeyBatch**](GeoshardApiApi.md#removekeybatch) | **PATCH** /api/v1/shard/{index}/batch | Remove multiple keys from index |

<a id="createindex"></a>
# **CreateIndex**
Expand Down
14 changes: 7 additions & 7 deletions contrib/client-sdk/csharp/src/GeoproxClient/Api/GeohashApiApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Geoprox server implementation providing a HTTP API for geospatial queries and position tracking
*
* The version of the OpenAPI document: 0.4.1
* The version of the OpenAPI document: 0.4.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -365,7 +365,7 @@ public GeoproxClient.Client.ApiResponse<DecodeGeohashResponse> DecodeGeohashWith


// make the HTTP request
var localVarResponse = this.Client.Get<DecodeGeohashResponse>("/api/v1/geohash/{ghash}/", localVarRequestOptions, this.Configuration);
var localVarResponse = this.Client.Get<DecodeGeohashResponse>("/api/v1/geohash/{ghash}", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null)
{
Exception _exception = this.ExceptionFactory("DecodeGeohash", localVarResponse);
Expand Down Expand Up @@ -438,7 +438,7 @@ public GeoproxClient.Client.ApiResponse<DecodeGeohashResponse> DecodeGeohashWith


// make the HTTP request
var localVarResponse = await this.AsynchronousClient.GetAsync<DecodeGeohashResponse>("/api/v1/geohash/{ghash}/", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
var localVarResponse = await this.AsynchronousClient.GetAsync<DecodeGeohashResponse>("/api/v1/geohash/{ghash}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -509,7 +509,7 @@ public GeoproxClient.Client.ApiResponse<EncodeLatLngResponse> EncodeLatlngWithHt


// make the HTTP request
var localVarResponse = this.Client.Get<EncodeLatLngResponse>("/api/v1/geohash/", localVarRequestOptions, this.Configuration);
var localVarResponse = this.Client.Get<EncodeLatLngResponse>("/api/v1/geohash", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null)
{
Exception _exception = this.ExceptionFactory("EncodeLatlng", localVarResponse);
Expand Down Expand Up @@ -582,7 +582,7 @@ public GeoproxClient.Client.ApiResponse<EncodeLatLngResponse> EncodeLatlngWithHt


// make the HTTP request
var localVarResponse = await this.AsynchronousClient.GetAsync<EncodeLatLngResponse>("/api/v1/geohash/", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
var localVarResponse = await this.AsynchronousClient.GetAsync<EncodeLatLngResponse>("/api/v1/geohash", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -653,7 +653,7 @@ public GeoproxClient.Client.ApiResponse<GeohashNeighborsResponse> GetNeighborsWi


// make the HTTP request
var localVarResponse = this.Client.Get<GeohashNeighborsResponse>("/api/v1/geohash/{ghash}/neighbors/", localVarRequestOptions, this.Configuration);
var localVarResponse = this.Client.Get<GeohashNeighborsResponse>("/api/v1/geohash/{ghash}/neighbors", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null)
{
Exception _exception = this.ExceptionFactory("GetNeighbors", localVarResponse);
Expand Down Expand Up @@ -726,7 +726,7 @@ public GeoproxClient.Client.ApiResponse<GeohashNeighborsResponse> GetNeighborsWi


// make the HTTP request
var localVarResponse = await this.AsynchronousClient.GetAsync<GeohashNeighborsResponse>("/api/v1/geohash/{ghash}/neighbors/", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
var localVarResponse = await this.AsynchronousClient.GetAsync<GeohashNeighborsResponse>("/api/v1/geohash/{ghash}/neighbors", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down
Loading

0 comments on commit 0179c15

Please sign in to comment.