Skip to content

Commit

Permalink
Merge pull request #258 from maykinmedia/issue/248-redoc-incorrect-ap…
Browse files Browse the repository at this point in the history
…i-urls

📝 [#248] Use correct API root in redoc OAS view
  • Loading branch information
stevenbal authored Oct 3, 2024
2 parents 2795089 + cfce9dc commit 2699534
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/openklant/components/contactgegevens/api/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"TITLE": "contactgegevens",
"DESCRIPTION": description,
"VERSION": settings.CONTACTGEGEVENS_API_VERSION,
"SERVERS": [{"url": "/contactgegevens/api/v1"}],
"TAGS": [
{"name": "organisaties"},
{"name": "personen"},
Expand Down
2 changes: 2 additions & 0 deletions src/openklant/components/contactgegevens/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,8 @@ components:
in: header
name: Authorization
description: Token-based authentication with required prefix "Token"
servers:
- url: /contactgegevens/api/v1
tags:
- name: organisaties
- name: personen
1 change: 1 addition & 0 deletions src/openklant/components/klantinteracties/api/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"TITLE": "klantinteracties",
"DESCRIPTION": description,
"VERSION": settings.KLANTINTERACTIES_API_VERSION,
"SERVERS": [{"url": "/klantinteracties/api/v1"}],
"TAGS": [
{"name": "actoren"},
{"name": "actor klantcontacten"},
Expand Down
2 changes: 2 additions & 0 deletions src/openklant/components/klantinteracties/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5188,6 +5188,8 @@ components:
in: header
name: Authorization
description: Token-based authentication with required prefix "Token"
servers:
- url: /klantinteracties/api/v1
tags:
- name: actoren
- name: actor klantcontacten
Expand Down

0 comments on commit 2699534

Please sign in to comment.