Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.15.2
Description
Install nodejs and run
$ npx --yes --package openapi-typescript-codegen openapi --input https://nightlies.apache.org/flink/flink-docs-release-1.15/generated/rest_v1_dispatcher.yml --output .
$ npx --package typescript tsc
The only thing it complains about is:
src/models/JobVertexBackPressureInfo.ts:21:17 - error TS1003: Identifier expected.21 export enum 'backpressure-level' {
This is because for TypeScript, enum name should not have a hyphen in it.
Attachments
Issue Links
- links to