Closed JanEggers closed 3 years ago
@tehmantra can you please have a look at what i have so far. i finally have it generate a document i can import into asyncapi playground.
there is a lot of work to be done related to references but for messages and payloads it seems to be ok now. if the pattern is sound i can implement a similar reference generations for the other schema objects that should be using references.
one test is still failing because the async api document form the options is used as a prototype and i didnt find a reasonable way to clone it.
also i would like to ignore empty arrays and dictionaries [] and {} from the document but nullvaluehandling and defaultvaluehandling dont seem to work.
This branch is becoming quite large!
I will merge this into the nschema
branch now, and work on getting it ready for master in the coming weeks.
merged master and fixed some tests