Skip to content

Commit 4ab07ce

Browse files
committed
🎨 [#120] removed fake jwt authentication class
1 parent 2fa6f45 commit 4ab07ce

File tree

20 files changed

+72
-6347
lines changed

20 files changed

+72
-6347
lines changed

src/openklant/components/contactgegevens/api/schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description WIP.
66
"""
77

8-
info = {
8+
custom_settings = {
99
"TITLE": "contactgegevens",
1010
"DESCRIPTION": description,
1111
"VERSION": settings.CONTACTGEGEVENS_API_VERSION,

src/openklant/components/contactgegevens/api/urls.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
PersoonViewSet,
1414
)
1515

16-
from .schema import info
16+
from .schema import custom_settings
1717

1818
app_name = "contactgegevens"
1919

@@ -33,15 +33,15 @@
3333
"schema/openapi.json",
3434
SpectacularJSONAPIView.as_view(
3535
urlconf="openklant.components.contactgegevens.api.urls",
36-
custom_settings=info,
36+
custom_settings=custom_settings,
3737
),
3838
name="schema-json-contactgegevens",
3939
),
4040
path(
4141
"schema/openapi.yaml",
4242
SpectacularYAMLAPIView.as_view(
4343
urlconf="openklant.components.contactgegevens.api.urls",
44-
custom_settings=info,
44+
custom_settings=custom_settings,
4545
),
4646
name="schema-yaml-contactgegevens",
4747
),

src/openklant/components/klantinteracties/api/schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description WIP.
66
"""
77

8-
info = {
8+
custom_settings = {
99
"TITLE": "klantinteracties",
1010
"DESCRIPTION": description,
1111
"VERSION": settings.KLANTINTERACTIES_API_VERSION,

src/openklant/components/klantinteracties/api/urls.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
PartijViewSet,
2626
)
2727

28-
from .schema import info
28+
from .schema import custom_settings
2929

3030
app_name = "klantinteracties"
3131

@@ -57,15 +57,15 @@
5757
"schema/openapi.json",
5858
SpectacularJSONAPIView.as_view(
5959
urlconf="openklant.components.klantinteracties.api.urls",
60-
custom_settings=info,
60+
custom_settings=custom_settings,
6161
),
6262
name="schema-json-klantinteracties",
6363
),
6464
path(
6565
"schema/openapi.yaml",
6666
SpectacularYAMLAPIView.as_view(
6767
urlconf="openklant.components.klantinteracties.api.urls",
68-
custom_settings=info,
68+
custom_settings=custom_settings,
6969
),
7070
name="schema-yaml-klantinteracties",
7171
),

src/openklant/components/klantinteracties/openapi.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -1745,6 +1745,10 @@ components:
17451745
description: Naam die de betrokkene bij klantcontact tijdens vervolghandelingen
17461746
naar aanleiding van dat contact wil gebruiken. Deze mag afwijken van eventueel
17471747
in de Basisregistratie Personen (BRP) bekende naam van de betrokkene.
1748+
volledigeNaam:
1749+
type: string
1750+
readOnly: true
1751+
description: De voledige naam van de betrokkene.
17481752
rol:
17491753
allOf:
17501754
- $ref: '#/components/schemas/RolEnum'
@@ -1767,6 +1771,7 @@ components:
17671771
- rol
17681772
- url
17691773
- uuid
1774+
- volledigeNaam
17701775
- wasPartij
17711776
BetrokkeneCorrespondentieadres:
17721777
type: object
@@ -2938,6 +2943,10 @@ components:
29382943
description: Naam die de betrokkene bij klantcontact tijdens vervolghandelingen
29392944
naar aanleiding van dat contact wil gebruiken. Deze mag afwijken van eventueel
29402945
in de Basisregistratie Personen (BRP) bekende naam van de betrokkene.
2946+
volledigeNaam:
2947+
type: string
2948+
readOnly: true
2949+
description: De voledige naam van de betrokkene.
29412950
rol:
29422951
allOf:
29432952
- $ref: '#/components/schemas/RolEnum'

src/openklant/components/klantinteracties/resources.md

-181
This file was deleted.

0 commit comments

Comments
 (0)