Created by: Foorack
If no version number is provided as property then it will try identify the version number automatically from the OpenAPI specification. If no version exist there either then it will still fallback to "1.0.0". This code is taken from the typescript generator, is very short and is severely tested. This mirrors behavior in e.g. typescript.
PR checklist
-
Read the contribution guidelines. -
Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community. -
Run the following to build the project and update samples = No change -
File the PR against the correct branch: master -
If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
@frol @farcaller @richardwhiuk @paladinzh