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

Discriminator support #630

Open
skingreek opened this issue Mar 12, 2020 · 2 comments
Open

Discriminator support #630

skingreek opened this issue Mar 12, 2020 · 2 comments
Assignees

Comments

@skingreek
Copy link

skingreek commented Mar 12, 2020

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)

@jstoiko
Copy link

jstoiko commented Mar 12, 2020

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

@jarrodek jarrodek self-assigned this Mar 12, 2020
@skingreek
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants