Copy the API version to output file #1557
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
openapi-ts
Relevant to the openapi-typescript library
Description
I want to know which version of the API was used as the source for the generated TypeScript. The API that I am working with requires that the API version be sent in each request.
Proposal
Include enough of the API General Info to indicate the API version in the output file:
I can then surface a compilation error if I happen to be mistaken about which version of the API was used as the source of the output file:
Checklist
The text was updated successfully, but these errors were encountered: