Open reinkrul opened 1 year ago
Objects like VerfiableCredential, DID, DIDDocument, VerifiablePresentation, etc... were used/redefined in multiple OAPI specs (VDR, VCR, didman, ...). The definitions started to diverge a bit, and incorrect definitions were not always fixed on all specs. By using a single reference (/docs/common/ssi_types.yaml
) it was easier to get and keep them consistent.
Last time I checked the externally defined objects are (partially) broken though. Or at least in combination with the code generator, since generation fails for objects in this file. It works because we currently alias all types to our own defined structs. The ssi_types.go
exists so that ssi_types_test.go
can confirm the spec and our own structs match.
The generated types in the file appear unused, the package is named differently from the directory.
@gerardsn do you know what the intended purpose was of this file?