Skip to content

Discriminator support #630

Open
Open

Description

@skingreek

It is will be very useful if API-Console will be support discriminator feature.
When convert RAML to AmfGraph via webapi-parser we have data about root type in raml-shapes:inherits node. (But if convert via api-console-cli, info about root type is lost)
When convert OAS2 to AmfGraph we have data about root type in shacl:and node.

Will be cool if data about root type displayed in types list. And root type have links to all child types (as in JavaDoc "Direct Known Subclasses" and class hierarchy)

Activity

  1. jstoiko commented on Mar 12, 2020

    @jstoiko

    @skingreek: which version of webapi-parser are you using? the AMF model output should be the same as the one outputted by AMF...

  2. self-assigned this
    on Mar 12, 2020
  3. skingreek commented on Mar 13, 2020

    @skingreek
    Author

    @jstoiko i use last version of webapi-parser@0.5.0
    and i use last version of api-console-cli@2.0.3
    if I'm not mistaken, both libs have depends amf-client-js@4.0.4, but result is different.
    I forgot to say, webapi-parser i use in java code, maybe it is important.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions