Open brendandburns opened 4 years ago
Ref https://github.com/kubernetes-client/javascript/issues/457
There's some (I think) double escaping happening in HTML docs generated by the open api generator.
4.0.3
https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/swagger.json
Used the maven generator: https://github.com/kubernetes-client/gen/blob/master/openapi/typescript.xml
git clone https://github.com/kubernetes-client/typescript cd typescript npm install npm run generate
I think it might be due to double-escaping but it requires further investigation.
Had the same problem but not only in docs. I got it in TS Types files:
export type ChangeFeatureSubjectsPayload = Array<string>;
Is there any update about this?
Bug Report Checklist
Ref https://github.com/kubernetes-client/javascript/issues/457
Description
There's some (I think) double escaping happening in HTML docs generated by the open api generator.
openapi-generator version
4.0.3
OpenAPI declaration file content or url
https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/swagger.json
Command line used for generation
Used the maven generator: https://github.com/kubernetes-client/gen/blob/master/openapi/typescript.xml
Steps to reproduce
Suggest a fix
I think it might be due to double-escaping but it requires further investigation.