Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI spec "digitale_adressen" does not match with "digitaleAdressen" attribuut in _expand of ExpandPartij #283

Open
andyverberne opened this issue Nov 18, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@andyverberne
Copy link

andyverberne commented Nov 18, 2024

Product versie / Product version

2.3.0

Omschrijf het probleem / Describe the bug

Snippet from OpenAPI spec:

ExpandPartij:
  allOf:
    - $ref: '#/components/schemas/Partij'
    - type: object
      properties:
        _expand:
          type: object
          description: Display details of the linked resources requested in the
            `expand` parameter
          properties:
            digitale_adressen:
              type: array
              items:
                $ref: '#/components/schemas/DigitaalAdres'
              nullable: true
              description: Digitaal adresen dat een partij verstrekte voor gebruik
                bij toekomstig contact met de gemeente.

Snippet from retrieved response:

"_expand": {
            "digitaleAdressen": [
                {
                    "uuid": "31cc0d7f-70f6-4686-ae10-bd11c1282bfb",
                    "url": "https://open-klant-lab2.ow.lab.dimpact.nl/klantinteracties/api/v1/digitaleadressen/31cc0d7f-70f6-4686-ae10-bd11c1282bfb",
                    "verstrektDoorBetrokkene": null,
                    "verstrektDoorPartij": {
                        "uuid": "59dde1a4-b623-4250-8637-b15d25b0716f",
                        "url": "https://open-klant-lab2.ow.lab.dimpact.nl/klantinteracties/api/v1/partijen/59dde1a4-b623-4250-8637-b15d25b0716f"
                    },
                    "adres": "[email protected]",
                    "soortDigitaalAdres": "email",
                    "omschrijving": "E-mail adres"
                },

Stappen om te reproduceren / Steps to reproduce

  1. Retrieve the OpenAPI spec using the API specificaties button the user interface of Open Klant
  2. Create a Partij with one or more digitale adressen
  3. Retrieve the Partij using the &expand=digitaleAdressen query parameter
  4. Compare the reult with the OpenAPI spec: digitale_adressen != digitaleAdressen

Verwacht gedrag / Expected behavior

No response

@andyverberne andyverberne added bug Something isn't working triage labels Nov 18, 2024
@andyverberne andyverberne changed the title OpenAPI spec does not match with digitaleAdressen attribuut in _expand of ExpandPartij OpenAPI spec "digitale_adressen" does not match with "digitaleAdressen" attribuut in _expand of ExpandPartij Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant