Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
char0n opened this issue Jan 5, 2021 · 0 comments · Fixed by #227
Closed

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

char0n opened this issue Jan 5, 2021 · 0 comments · Fixed by #227
Assignees
Labels

Comments

@char0n
Copy link
Member

char0n commented Jan 5, 2021

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.

@char0n char0n self-assigned this Jan 5, 2021
@char0n char0n added ApiDOM AsyncAPI 2.x bug Something isn't working invalid This doesn't seem right OpenAPI 3.1 and removed invalid This doesn't seem right labels Jan 5, 2021
char0n added a commit that referenced this issue Jan 5, 2021
char0n added a commit that referenced this issue Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant