The API is working and the CloudWatch log shows the call made by Swagger and does not report any errors. I suspect that there is something amiss with the definition of the StandardResponse and/or the Dmp definitions in the openapi spec file. For example, if you go to the site and test the Get /dmps/{dmpId} endpoint (leave the default DMP ID in the field) it responds with 'TypeError: Load failed'. If you copy the 'curl' statement it shows though into a terminal window, it successfully returns the sample DMP.
The Swagger UI site https://dmphub-dev.cdlib.org/api-docs is not able to load the response.
The API is working and the CloudWatch log shows the call made by Swagger and does not report any errors. I suspect that there is something amiss with the definition of the StandardResponse and/or the Dmp definitions in the openapi spec file. For example, if you go to the site and test the
Get /dmps/{dmpId}
endpoint (leave the default DMP ID in the field) it responds with 'TypeError: Load failed'. If you copy the 'curl' statement it shows though into a terminal window, it successfully returns the sample DMP.