syroegkin / swagger-markdown

swagger to markdown transpiler
MIT License
232 stars 87 forks source link

Body request (requestBody) is not displayed #189

Open Jess182 opened 1 year ago

Jess182 commented 1 year ago

I have my YAML file with request and their requestBody, but when i convert to markdown, request body is not displayed, could you help me, thanks.

syroegkin commented 1 year ago

Yes, this is correct behavior for now. The thing is the requestBody is the part of the OpenAPI3 specification, but current implementation of the swagger-markdown at the moment of writing supporting only (a bit outdated in fact) OpenAPI2 specs. I am planning to extend the product and add support of the v3 of the specification, but this is not yet here. And, as you may noticed, I ain't not a fastest person in the world. I will keep this issue open and will refer with a further release, so you will be aware.