Skip to content

apidom-reference: enhance error reporting #3039

Open
@char0n

Description

Enhancements will probably be specific to resolution and dereferencing (worth confirming before). It is currently not really possible to determine where (doc, line, column) the error actually happened. The goal of this issue is to produce errors with more information about what actually happens, why and where:

We can start with decorating errors with following information:

  • sourcemap (if available)
  • reference-value metadata
  • cross document boundary JSON Pointer
  • URI of the current reference

TODO:

  • AsyncAPI 2.x dereference strategy
  • OpenAPI 3.0.x dereference strategy
  • OpenAPI 3.1.0 dereference strategy
  • AsyncAPI 2.x resolution strategy
  • OpenAPI 3.0.x resolution strategy
  • OpenAPI 3.1.0 resolution strategy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions