Update user API has incorrect OAS3 definition

Dear Visier developer community,

After calling the endpoint PUT /v1/admin/users/{userId} we have noticed that the endpoint doesn’t accept application/json request body (as specified here), but it accepts multipart/form-data. The endpoint definition needs to be updated to reflect the actual implementation. The requestBody definition should be updated like this:

requestBody:                                                     
  content:                                                       
    multipart/form-data:                                         
      schema:                                                    
        type: object                                             
        properties:                                              
          model:                                                 
            $ref: '#/components/schemas/UserUpdateAPIRequestDTO' 

so an auto-generated client will be able to invoke the endpoint successfully. Could you please update the OAS3 spec and publish it in the openapi-clients GitHub repo?

Thanks in advance

Hello,
Thanks for this. The OpenAPI definitions have now been updated on GitHub

Regards,
/Henrik

Hello Henrik,

Thank you for your reply. Somehow I still can’t see the changes. :frowning:

The request body Content-Type is still application-json, as it can be seen here.

Best regards