Skip to content

Commit a2ddb27

Browse files
committed
update openapi-client
1 parent d31845c commit a2ddb27

File tree

8 files changed

+7
-39
lines changed

8 files changed

+7
-39
lines changed

.generation/input/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

python/geoengine_openapi_client/api/ogcwfs_api.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def wfs_handler(
5252
filter: Optional[StrictStr],
5353
namespaces: Optional[StrictStr],
5454
property_name: Optional[StrictStr],
55-
query_resolution: Annotated[StrictStr, Field(description="Vendor parameter for specifying a spatial query resolution")],
5655
request: Annotated[StrictStr, Field(description="type of WFS request")],
5756
result_type: Optional[StrictStr],
5857
service: WfsService,
@@ -89,8 +88,6 @@ def wfs_handler(
8988
:type namespaces: str
9089
:param property_name: (required)
9190
:type property_name: str
92-
:param query_resolution: Vendor parameter for specifying a spatial query resolution (required)
93-
:type query_resolution: str
9491
:param request: type of WFS request (required)
9592
:type request: str
9693
:param result_type: (required)
@@ -136,7 +133,6 @@ def wfs_handler(
136133
filter=filter,
137134
namespaces=namespaces,
138135
property_name=property_name,
139-
query_resolution=query_resolution,
140136
request=request,
141137
result_type=result_type,
142138
service=service,
@@ -174,7 +170,6 @@ def wfs_handler_with_http_info(
174170
filter: Optional[StrictStr],
175171
namespaces: Optional[StrictStr],
176172
property_name: Optional[StrictStr],
177-
query_resolution: Annotated[StrictStr, Field(description="Vendor parameter for specifying a spatial query resolution")],
178173
request: Annotated[StrictStr, Field(description="type of WFS request")],
179174
result_type: Optional[StrictStr],
180175
service: WfsService,
@@ -211,8 +206,6 @@ def wfs_handler_with_http_info(
211206
:type namespaces: str
212207
:param property_name: (required)
213208
:type property_name: str
214-
:param query_resolution: Vendor parameter for specifying a spatial query resolution (required)
215-
:type query_resolution: str
216209
:param request: type of WFS request (required)
217210
:type request: str
218211
:param result_type: (required)
@@ -258,7 +251,6 @@ def wfs_handler_with_http_info(
258251
filter=filter,
259252
namespaces=namespaces,
260253
property_name=property_name,
261-
query_resolution=query_resolution,
262254
request=request,
263255
result_type=result_type,
264256
service=service,
@@ -296,7 +288,6 @@ def wfs_handler_without_preload_content(
296288
filter: Optional[StrictStr],
297289
namespaces: Optional[StrictStr],
298290
property_name: Optional[StrictStr],
299-
query_resolution: Annotated[StrictStr, Field(description="Vendor parameter for specifying a spatial query resolution")],
300291
request: Annotated[StrictStr, Field(description="type of WFS request")],
301292
result_type: Optional[StrictStr],
302293
service: WfsService,
@@ -333,8 +324,6 @@ def wfs_handler_without_preload_content(
333324
:type namespaces: str
334325
:param property_name: (required)
335326
:type property_name: str
336-
:param query_resolution: Vendor parameter for specifying a spatial query resolution (required)
337-
:type query_resolution: str
338327
:param request: type of WFS request (required)
339328
:type request: str
340329
:param result_type: (required)
@@ -380,7 +369,6 @@ def wfs_handler_without_preload_content(
380369
filter=filter,
381370
namespaces=namespaces,
382371
property_name=property_name,
383-
query_resolution=query_resolution,
384372
request=request,
385373
result_type=result_type,
386374
service=service,
@@ -413,7 +401,6 @@ def _wfs_handler_serialize(
413401
filter,
414402
namespaces,
415403
property_name,
416-
query_resolution,
417404
request,
418405
result_type,
419406
service,
@@ -455,8 +442,6 @@ def _wfs_handler_serialize(
455442
_path_params['namespaces'] = namespaces
456443
if property_name is not None:
457444
_path_params['propertyName'] = property_name
458-
if query_resolution is not None:
459-
_path_params['queryResolution'] = query_resolution
460445
if request is not None:
461446
_path_params['request'] = request
462447
if result_type is not None:

typescript/dist/apis/OGCWFSApi.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export interface WfsHandlerRequest {
1818
filter: string | null;
1919
namespaces: string | null;
2020
propertyName: string | null;
21-
queryResolution: string;
2221
request: WfsHandlerRequestEnum;
2322
resultType: string | null;
2423
service: WfsService;

typescript/dist/apis/OGCWFSApi.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ class OGCWFSApi extends runtime.BaseAPI {
5252
if (requestParameters['propertyName'] == null) {
5353
throw new runtime.RequiredError('propertyName', 'Required parameter "propertyName" was null or undefined when calling wfsHandler().');
5454
}
55-
if (requestParameters['queryResolution'] == null) {
56-
throw new runtime.RequiredError('queryResolution', 'Required parameter "queryResolution" was null or undefined when calling wfsHandler().');
57-
}
5855
if (requestParameters['request'] == null) {
5956
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling wfsHandler().');
6057
}
@@ -95,7 +92,6 @@ class OGCWFSApi extends runtime.BaseAPI {
9592
urlPath = urlPath.replace(`{${"filter"}}`, encodeURIComponent(String(requestParameters['filter'])));
9693
urlPath = urlPath.replace(`{${"namespaces"}}`, encodeURIComponent(String(requestParameters['namespaces'])));
9794
urlPath = urlPath.replace(`{${"propertyName"}}`, encodeURIComponent(String(requestParameters['propertyName'])));
98-
urlPath = urlPath.replace(`{${"queryResolution"}}`, encodeURIComponent(String(requestParameters['queryResolution'])));
9995
urlPath = urlPath.replace(`{${"request"}}`, encodeURIComponent(String(requestParameters['request'])));
10096
urlPath = urlPath.replace(`{${"resultType"}}`, encodeURIComponent(String(requestParameters['resultType'])));
10197
urlPath = urlPath.replace(`{${"service"}}`, encodeURIComponent(String(requestParameters['service'])));

typescript/dist/esm/apis/OGCWFSApi.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export interface WfsHandlerRequest {
1818
filter: string | null;
1919
namespaces: string | null;
2020
propertyName: string | null;
21-
queryResolution: string;
2221
request: WfsHandlerRequestEnum;
2322
resultType: string | null;
2423
service: WfsService;

typescript/dist/esm/apis/OGCWFSApi.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ export class OGCWFSApi extends runtime.BaseAPI {
3030
* OGC WFS endpoint
3131
*/
3232
wfsHandlerRaw(requestParameters, initOverrides) {
33+
console.log("Entering wfsHandlerRaw with parameters:", requestParameters);
3334
return __awaiter(this, void 0, void 0, function* () {
35+
console.log("WFS request parameters awauter");
3436
if (requestParameters['workflow'] == null) {
3537
throw new runtime.RequiredError('workflow', 'Required parameter "workflow" was null or undefined when calling wfsHandler().');
3638
}
@@ -49,9 +51,6 @@ export class OGCWFSApi extends runtime.BaseAPI {
4951
if (requestParameters['propertyName'] == null) {
5052
throw new runtime.RequiredError('propertyName', 'Required parameter "propertyName" was null or undefined when calling wfsHandler().');
5153
}
52-
if (requestParameters['queryResolution'] == null) {
53-
throw new runtime.RequiredError('queryResolution', 'Required parameter "queryResolution" was null or undefined when calling wfsHandler().');
54-
}
5554
if (requestParameters['request'] == null) {
5655
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling wfsHandler().');
5756
}
@@ -92,7 +91,6 @@ export class OGCWFSApi extends runtime.BaseAPI {
9291
urlPath = urlPath.replace(`{${"filter"}}`, encodeURIComponent(String(requestParameters['filter'])));
9392
urlPath = urlPath.replace(`{${"namespaces"}}`, encodeURIComponent(String(requestParameters['namespaces'])));
9493
urlPath = urlPath.replace(`{${"propertyName"}}`, encodeURIComponent(String(requestParameters['propertyName'])));
95-
urlPath = urlPath.replace(`{${"queryResolution"}}`, encodeURIComponent(String(requestParameters['queryResolution'])));
9694
urlPath = urlPath.replace(`{${"request"}}`, encodeURIComponent(String(requestParameters['request'])));
9795
urlPath = urlPath.replace(`{${"resultType"}}`, encodeURIComponent(String(requestParameters['resultType'])));
9896
urlPath = urlPath.replace(`{${"service"}}`, encodeURIComponent(String(requestParameters['service'])));
@@ -101,6 +99,9 @@ export class OGCWFSApi extends runtime.BaseAPI {
10199
urlPath = urlPath.replace(`{${"time"}}`, encodeURIComponent(String(requestParameters['time'])));
102100
urlPath = urlPath.replace(`{${"typeNames"}}`, encodeURIComponent(String(requestParameters['typeNames'])));
103101
urlPath = urlPath.replace(`{${"version"}}`, encodeURIComponent(String(requestParameters['version'])));
102+
103+
console.log("WFS request URL:", urlPath);
104+
104105
const response = yield this.request({
105106
path: urlPath,
106107
method: 'GET',

typescript/docs/OGCWFSApi.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All URIs are relative to *http://127.0.0.1:3030/api*
1010

1111
## wfsHandler
1212

13-
> GeoJson wfsHandler(workflow, bbox, count, filter, namespaces, propertyName, queryResolution, request, resultType, service, sortBy, srsName, time, typeNames, version)
13+
> GeoJson wfsHandler(workflow, bbox, count, filter, namespaces, propertyName, request, resultType, service, sortBy, srsName, time, typeNames, version)
1414
1515
OGC WFS endpoint
1616

@@ -44,8 +44,6 @@ async function example() {
4444
namespaces: namespaces_example,
4545
// string
4646
propertyName: propertyName_example,
47-
// string | Vendor parameter for specifying a spatial query resolution
48-
queryResolution: queryResolution_example,
4947
// 'GetCapabilities' | 'GetFeature' | type of WFS request
5048
request: request_example,
5149
// string
@@ -87,7 +85,6 @@ example().catch(console.error);
8785
| **filter** | `string` | | [Defaults to `undefined`] |
8886
| **namespaces** | `string` | | [Defaults to `undefined`] |
8987
| **propertyName** | `string` | | [Defaults to `undefined`] |
90-
| **queryResolution** | `string` | Vendor parameter for specifying a spatial query resolution | [Defaults to `undefined`] |
9188
| **request** | `GetCapabilities`, `GetFeature` | type of WFS request | [Defaults to `undefined`] [Enum: GetCapabilities, GetFeature] |
9289
| **resultType** | `string` | | [Defaults to `undefined`] |
9390
| **service** | `WfsService` | | [Defaults to `undefined`] [Enum: WFS] |

typescript/src/apis/OGCWFSApi.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export interface WfsHandlerRequest {
3535
filter: string | null;
3636
namespaces: string | null;
3737
propertyName: string | null;
38-
queryResolution: string;
3938
request: WfsHandlerRequestEnum;
4039
resultType: string | null;
4140
service: WfsService;
@@ -97,13 +96,6 @@ export class OGCWFSApi extends runtime.BaseAPI {
9796
);
9897
}
9998

100-
if (requestParameters['queryResolution'] == null) {
101-
throw new runtime.RequiredError(
102-
'queryResolution',
103-
'Required parameter "queryResolution" was null or undefined when calling wfsHandler().'
104-
);
105-
}
106-
10799
if (requestParameters['request'] == null) {
108100
throw new runtime.RequiredError(
109101
'request',
@@ -180,7 +172,6 @@ export class OGCWFSApi extends runtime.BaseAPI {
180172
urlPath = urlPath.replace(`{${"filter"}}`, encodeURIComponent(String(requestParameters['filter'])));
181173
urlPath = urlPath.replace(`{${"namespaces"}}`, encodeURIComponent(String(requestParameters['namespaces'])));
182174
urlPath = urlPath.replace(`{${"propertyName"}}`, encodeURIComponent(String(requestParameters['propertyName'])));
183-
urlPath = urlPath.replace(`{${"queryResolution"}}`, encodeURIComponent(String(requestParameters['queryResolution'])));
184175
urlPath = urlPath.replace(`{${"request"}}`, encodeURIComponent(String(requestParameters['request'])));
185176
urlPath = urlPath.replace(`{${"resultType"}}`, encodeURIComponent(String(requestParameters['resultType'])));
186177
urlPath = urlPath.replace(`{${"service"}}`, encodeURIComponent(String(requestParameters['service'])));

0 commit comments

Comments
 (0)