Closed temi closed 9 months ago
POSTING to api/doi endpoint threw an error even though the documentation was followed. Debugging indicated missing properties in providerMetadata field. It will be good if this is reflected in the API doc and also the example updated.
api/doi
providerMetadata
{ ... "providerMetadata": { "resourceType": "Text", "publisher": "test", "identifier": "test", "publicationYear": 2019, "authors": ["testing"] }, ... }
Updated the openapi documentation for the POST request with details present in code comments and information from the mintDoi page.
POSTING to
api/doi
endpoint threw an error even though the documentation was followed. Debugging indicated missing properties inproviderMetadata
field. It will be good if this is reflected in the API doc and also the example updated.