Skip to content

Commit 9ac2215

Browse files
josteinlgithub-actions[bot]
authored andcommitted
Update OpenAPI spec to version 2026.03.19
1 parent 683ca78 commit 9ac2215

4 files changed

Lines changed: 14 additions & 39 deletions

File tree

nadag-innmelding-python-client/nadag_innmelding_python_client/api/default/delete_nadag_innmelding_v_1_geoteknisk_unders_geoteknisk_unders_id_unders_pkt_geoteknisk_borehull_id.py

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,21 @@
66

77
from ... import errors
88
from ...client import AuthenticatedClient, Client
9-
from ...models.epsg_code import EpsgCode
109
from ...models.validated_geoteknisk_unders import ValidatedGeotekniskUnders
11-
from ...types import UNSET, Response
10+
from ...types import Response
1211

1312

1413
def _get_kwargs(
1514
geoteknisk_unders_id: str,
1615
geoteknisk_borehull_id: str,
17-
*,
18-
epsg_code: EpsgCode,
1916
) -> dict[str, Any]:
2017

21-
params: dict[str, Any] = {}
22-
23-
json_epsg_code = epsg_code.value
24-
params["epsgCode"] = json_epsg_code
25-
26-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
27-
2818
_kwargs: dict[str, Any] = {
2919
"method": "delete",
3020
"url": "/nadag/innmelding/v1/GeotekniskUnders/{geoteknisk_unders_id}/undersPkt/{geoteknisk_borehull_id}".format(
3121
geoteknisk_unders_id=quote(str(geoteknisk_unders_id), safe=""),
3222
geoteknisk_borehull_id=quote(str(geoteknisk_borehull_id), safe=""),
3323
),
34-
"params": params,
3524
}
3625

3726
return _kwargs
@@ -67,7 +56,6 @@ def sync_detailed(
6756
geoteknisk_borehull_id: str,
6857
*,
6958
client: AuthenticatedClient,
70-
epsg_code: EpsgCode,
7159
) -> Response[ValidatedGeotekniskUnders]:
7260
"""Deletes a GeotekniskBorehull.
7361
@@ -76,7 +64,6 @@ def sync_detailed(
7664
Args:
7765
geoteknisk_unders_id (str):
7866
geoteknisk_borehull_id (str):
79-
epsg_code (EpsgCode):
8067
8168
Raises:
8269
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -89,7 +76,6 @@ def sync_detailed(
8976
kwargs = _get_kwargs(
9077
geoteknisk_unders_id=geoteknisk_unders_id,
9178
geoteknisk_borehull_id=geoteknisk_borehull_id,
92-
epsg_code=epsg_code,
9379
)
9480

9581
response = client.get_httpx_client().request(
@@ -104,7 +90,6 @@ def sync(
10490
geoteknisk_borehull_id: str,
10591
*,
10692
client: AuthenticatedClient,
107-
epsg_code: EpsgCode,
10893
) -> ValidatedGeotekniskUnders | None:
10994
"""Deletes a GeotekniskBorehull.
11095
@@ -113,7 +98,6 @@ def sync(
11398
Args:
11499
geoteknisk_unders_id (str):
115100
geoteknisk_borehull_id (str):
116-
epsg_code (EpsgCode):
117101
118102
Raises:
119103
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -127,7 +111,6 @@ def sync(
127111
geoteknisk_unders_id=geoteknisk_unders_id,
128112
geoteknisk_borehull_id=geoteknisk_borehull_id,
129113
client=client,
130-
epsg_code=epsg_code,
131114
).parsed
132115

133116

@@ -136,7 +119,6 @@ async def asyncio_detailed(
136119
geoteknisk_borehull_id: str,
137120
*,
138121
client: AuthenticatedClient,
139-
epsg_code: EpsgCode,
140122
) -> Response[ValidatedGeotekniskUnders]:
141123
"""Deletes a GeotekniskBorehull.
142124
@@ -145,7 +127,6 @@ async def asyncio_detailed(
145127
Args:
146128
geoteknisk_unders_id (str):
147129
geoteknisk_borehull_id (str):
148-
epsg_code (EpsgCode):
149130
150131
Raises:
151132
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -158,7 +139,6 @@ async def asyncio_detailed(
158139
kwargs = _get_kwargs(
159140
geoteknisk_unders_id=geoteknisk_unders_id,
160141
geoteknisk_borehull_id=geoteknisk_borehull_id,
161-
epsg_code=epsg_code,
162142
)
163143

164144
response = await client.get_async_httpx_client().request(**kwargs)
@@ -171,7 +151,6 @@ async def asyncio(
171151
geoteknisk_borehull_id: str,
172152
*,
173153
client: AuthenticatedClient,
174-
epsg_code: EpsgCode,
175154
) -> ValidatedGeotekniskUnders | None:
176155
"""Deletes a GeotekniskBorehull.
177156
@@ -180,7 +159,6 @@ async def asyncio(
180159
Args:
181160
geoteknisk_unders_id (str):
182161
geoteknisk_borehull_id (str):
183-
epsg_code (EpsgCode):
184162
185163
Raises:
186164
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -195,6 +173,5 @@ async def asyncio(
195173
geoteknisk_unders_id=geoteknisk_unders_id,
196174
geoteknisk_borehull_id=geoteknisk_borehull_id,
197175
client=client,
198-
epsg_code=epsg_code,
199176
)
200177
).parsed

nadag-innmelding-python-client/nadag_innmelding_python_client/api/default/get_nadag_innmelding_v_1_geoteknisk_borehull.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def sync_detailed(
7777
) -> Response[Any | GeotekniskBorehull]:
7878
"""Fetches a GeotekniskBorehull by external id.
7979
80-
Fetches a GeotekniskBorehull by external id. Returns the most recent one.
80+
Fetches a GeotekniskBorehull by external id.Returns the most recent one, if not deleted from its
81+
GeotekniskUnders.
8182
8283
Args:
8384
ekstern_id (str):
@@ -114,7 +115,8 @@ def sync(
114115
) -> Any | GeotekniskBorehull | None:
115116
"""Fetches a GeotekniskBorehull by external id.
116117
117-
Fetches a GeotekniskBorehull by external id. Returns the most recent one.
118+
Fetches a GeotekniskBorehull by external id.Returns the most recent one, if not deleted from its
119+
GeotekniskUnders.
118120
119121
Args:
120122
ekstern_id (str):
@@ -146,7 +148,8 @@ async def asyncio_detailed(
146148
) -> Response[Any | GeotekniskBorehull]:
147149
"""Fetches a GeotekniskBorehull by external id.
148150
149-
Fetches a GeotekniskBorehull by external id. Returns the most recent one.
151+
Fetches a GeotekniskBorehull by external id.Returns the most recent one, if not deleted from its
152+
GeotekniskUnders.
150153
151154
Args:
152155
ekstern_id (str):
@@ -181,7 +184,8 @@ async def asyncio(
181184
) -> Any | GeotekniskBorehull | None:
182185
"""Fetches a GeotekniskBorehull by external id.
183186
184-
Fetches a GeotekniskBorehull by external id. Returns the most recent one.
187+
Fetches a GeotekniskBorehull by external id.Returns the most recent one, if not deleted from its
188+
GeotekniskUnders.
185189
186190
Args:
187191
ekstern_id (str):

nadag-innmelding-python-client/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "nadag-innmelding-python-client"
3-
version = "2026.03.13"
3+
version = "2026.03.19"
44
description = "A client library for accessing Nadag innmelding API"
55
license = "MIT"
66
authors = ["Jiyang Ye <jiyang.ye@ngi.no>"]

openapi_specification/nadag-innmelding.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5388,8 +5388,8 @@ paths:
53885388
/nadag/innmelding/v1/GeotekniskBorehull:
53895389
get:
53905390
summary: Fetches a GeotekniskBorehull by external id.
5391-
description: Fetches a GeotekniskBorehull by external id. Returns the most recent
5392-
one.
5391+
description: "Fetches a GeotekniskBorehull by external id.Returns the most recent\
5392+
\ one, if not deleted from its GeotekniskUnders."
53935393
parameters:
53945394
- description: The externId of the GeotekniskBorehull to fetch.
53955395
required: true
@@ -5413,7 +5413,7 @@ paths:
54135413
"401":
54145414
description: Unauthorized Error
54155415
"404":
5416-
description: GeotekniskBorehull not found
5416+
description: GeotekniskBorehull not found (or deleted)
54175417
"200":
54185418
description: Returns the GeotekniskBorehull you want to fetch
54195419
content:
@@ -5514,12 +5514,6 @@ paths:
55145514
in: path
55155515
schema:
55165516
type: string
5517-
- description: The epsg code of the geometry.
5518-
required: true
5519-
name: epsgCode
5520-
in: query
5521-
schema:
5522-
$ref: "#/components/schemas/EpsgCode"
55235517
responses:
55245518
"200":
55255519
description: OK
@@ -6033,6 +6027,6 @@ paths:
60336027
$ref: "#/components/schemas/DiagnosticsDto"
60346028
info:
60356029
title: Nadag innmelding API
6036-
version: 2026.03.13
6030+
version: 2026.03.19
60376031
servers:
60386032
- url: http://0.0.0.0:8080

0 commit comments

Comments
 (0)