Forum Discussion
HKosova, Thankyou very much for responding. I am aware of the parsers. With these parsers I will be able to parse the openAPI 3.0 doc. Is there any library that will use these parsers to traverse through the responses.
I want to traverse through the response structure to list all the attributes, sub-attributes, sub-sub-...attributes and so on.
Thanks,
Pradeep
Parsers should have methods to get the schema for a response. Once you have the response schema you will be able to traverse its properties.
- pradeepnr5 years agoNew Contributor
HKosova Thank you for responding. Is there any library you are aware of for schema traversal?
I did find one schema walker. But it is for different draft.
Thanks,
Pradeep
- HKosova5 years agoSmartBear Alumni (Retired)
Parsers themselves most likely have classes/interfaces that represent OpenAPI Schema Object and that could be used to read schema attributes and access sub-schemas.
Related Content
- 3 years ago
- 7 years ago
Recent Discussions
- 3 days ago
- 4 days ago
- 11 days ago