OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.78k stars 6.57k forks source link

[BUG] Description: typescript-node generator does not generate apiDoc #12987

Open amohammedalfresco opened 2 years ago

amohammedalfresco commented 2 years ago

Bug Report Checklist

Description

typescript documentation feature seems to be different than typescript-node. The former generates (.md) files for the RestAPI's whereas the latter does not whereas both generators seems to support apiDoc generation.

TypeScriptClientCodegen.java#L249 TypeScriptNodeClientCodegen.java#L66-L69

Can you please help with global property apiDoc generation feature using with typescript-node generator.

openapi-generator version

6.0.1

iafilius commented 2 weeks ago

A "metoo", no single markdown is generated using openapi-generator 7.9.0 while generating typescript-node. generating go and python produces nice docs folder with markdown documentaion, while '-o typescript-node' doesnt.

code executed:

openapi-generator generate -g typescript-node -i myspec.yaml -o client-sdk-node/ \
    --additional-properties structPrefix=true