[
https://issues.apache.org/jira/browse/FLINK-29503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-29503.
------------------------------------
Fix Version/s: 1.17.0
1.16.1
(was: 1.16.0)
Resolution: Fixed
master: a743812edd7e19cf5b43d9efd1222471def90d18
1.16: fc708c2fe212826a25fa3151b5b8571e3993f15b
1.15: 5ad5618821f4b004f5de95004280981f1de6d17a
> Add backpressureLevel field without hyphens
> -------------------------------------------
>
> Key: FLINK-29503
> URL: https://issues.apache.org/jira/browse/FLINK-29503
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / REST
> Affects Versions: 1.15.2
> Reporter: Tiger (Apache) Wang
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: openapi, pull-request-available
> Fix For: 1.17.0, 1.15.3, 1.16.1
>
>
> 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.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)