asyncapi / saunter

Saunter is a code-first AsyncAPI documentation generator for dotnet.
https://www.asyncapi.com/
MIT License
199 stars 56 forks source link

Nschema #98

Closed JanEggers closed 3 years ago

JanEggers commented 3 years ago

merged master and fixed some tests

JanEggers commented 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.

m-wild commented 3 years ago

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.