Skip to content

Hydratation of custom namespaces for ApiDOM doesn't work #226

@char0n

Description

@char0n

When using low level minim api of namespace.fromRefract on AsyncApi or OpenApi namespace we get

     Error: Given value is not an object containing an element name
      at JSONSerialiser.deserialise (/home/char0n/Documents/GitHub/apidom/apidom/node_modules/minim/lib/serialisers/JSONSerialiser.js:49:13)
      at Namespace.fromRefract (/home/char0n/Documents/GitHub/apidom/apidom/node_modules/minim/lib/Namespace.js:165:28)
      at Context.<anonymous> (test/namespace.ts:15:17)
      at processImmediate (internal/timers.js:456:21)

It's also possible that Base namespace can be affected.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions