Altinn / altinn-register

Altinn platform microservice for handling register data
0 stars 1 forks source link

APIM Deploy fails for new Uuid endpoint #164

Closed jonkjetiloye closed 4 months ago

jonkjetiloye commented 5 months ago

Description of the bug

OpenAPI spec is updated in studio-ops based on the new API endpoint added for: GET /parties/{partyUuid}

This however fails when deploying to APIM as the endpoint is a duplicate path of the existing 'GET /parties/{partyid}'

[error]ValidationError: Importing API has duplicate signature operations: 2 operations with signature 'GET /parties/{partyid}'

The endpoint will have to be redesigned to use URL parameter as input

Steps To Reproduce

Run apim-deploy-creator-templates pipeline for Register

Additional Information

No response