openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

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

Open amohammedalfresco opened this issue 3 years ago • 1 comments

Bug Report Checklist

  • [ ] Have you provided a full/minimal spec to reproduce the issue?
  • [ ] Have you validated the input using an OpenAPI validator (example)?
  • [ ] Have you tested with the latest master to confirm the issue still exists?
  • [ ] Have you searched for related issues/PRs?
  • [ ] What's the actual output vs expected output?
  • [ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
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

amohammedalfresco avatar Jul 22 '22 15:07 amohammedalfresco

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

iafilius avatar Oct 19 '24 07:10 iafilius