decentralized-identity / veramo

A JavaScript Framework for Verifiable Data
https://veramo.io
Apache License 2.0
414 stars 130 forks source link

getOpenAPISchema fails when certain plugins are included #1379

Open nickreynolds opened 2 months ago

nickreynolds commented 2 months ago

Bug severity 2

Describe the bug When certain plugins are included in the agent (or, more accurately, certain methods exposed), the getOpenAPISchema function throws an error

To Reproduce Steps to reproduce the behaviour:

  1. Create an Agent with any of the following plugins installed (CredentialLD, CredentialIssuerEIP712, CredentialIssuer, DIDComm, MediationManager, SelectiveDisclosure, DIDDiscovery)
  2. call getOpenAPISchema on the agent (with all methods exposed)

Observed behaviour getOpenAPISchema throws an error

Expected behaviour getOpenAPISchema returns correctly

Details Likely due to missing description fields on functions

Versions (please complete the following information):