maykinmedia / open-klant

Registratiecomponent voor de opslag en ontsluiting van klantgegevens volgens de Klantinteracties API-specificatie.
Other
2 stars 3 forks source link

:sparkles: [#175] added expand for detail endpoints in redoc #180

Closed bart-maykin closed 7 months ago

bart-maykin commented 7 months ago

Fixes #175

Changes

Expand queryset params now get generated on detail views.

bart-maykin commented 7 months ago

It seems fine. I am not sure exactly what it is supposed to do. This is the first time I've looked at open klant

Are there tests that can be made for it?

There are tests for the expand feature which was already working fine. The issue is that the expand query param wasn't present for detail calls in the oas file. The 2 endpoints that have the expand queryset feature are:

Screenshot from 2024-04-23 18-18-06 Screenshot from 2024-04-23 18-18-22