Skip to content

Add $ref resolution to JSON schemas #347

@naz

Description

@naz

Problem

admin-api-schema's get() method returns raw json schemas without resolving definitions used in $ref. This makes get method hardly usable if somebody needs to see whole schema (for example when used in documentation). More on this read this comment.

Solution

One of possible solutions could be adding $ref resolution through package like ref-parser. But more research should be done into use-cases and other solutions first

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions