Hello,
I want to use the openapi-generator
to generate a C# client library.
I use this command:
$ java -jar ./openapi-generator-cli.jar generate -g csharp-netcore -i https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.yaml
which shows the followings errors:
....
a lot of [deprecated]-messages
...
| Error count: 15, Warning count: 169
Errors:
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/captions/{language}'(delete).operationId is repeated
-attribute components.schemas.CloudflareClientAPI_direct_upload_request.default=`Now + 30 minutes` is not of type `date-time`
-attribute components.schemas.query.default=`<6 hours ago>` is not of type `date-time`
-attribute components.schemas.deployment_configs_values.items is missing
-attribute components.schemas.query.default is not of type `array`
-attribute components.schemas.schemas-query.default is not of type `array`
-attribute components.schemas.http_config.default is not of type `array`
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/captions/{language}'(put).operationId is repeated
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/downloads'(post).operationId is repeated
-attribute components.schemas.direct_upload_request_v2.default=`Now + 30 minutes` is not of type `date-time`
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/captions'(get).operationId is repeated
-attribute components.schemas.direct_upload_request.default=`Now + 30 minutes` is not of type `date-time`
-attribute components.schemas.components-schemas-query.default is not of type `array`
-attribute components.schemas.query.default=`<now>` is not of type `date-time`
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/downloads'(get).operationId is repeated
Warnings:
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/captions/{language}'(delete).operationId is repeated
-attribute components.schemas.CloudflareClientAPI_direct_upload_request.default=`Now + 30 minutes` is not of type `date-time`
-attribute components.schemas.query.default=`<6 hours ago>` is not of type `date-time`
-attribute components.schemas.deployment_configs_values.items is missing
-attribute components.schemas.query.default is not of type `array`
-attribute components.schemas.schemas-query.default is not of type `array`
-attribute components.schemas.http_config.default is not of type `array`
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/captions/{language}'(put).operationId is repeated
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/downloads'(post).operationId is repeated
-attribute components.schemas.direct_upload_request_v2.default=`Now + 30 minutes` is not of type `date-time`
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/captions'(get).operationId is repeated
-attribute components.schemas.direct_upload_request.default=`Now + 30 minutes` is not of type `date-time`
-attribute components.schemas.components-schemas-query.default is not of type `array`
-attribute components.schemas.query.default=`<now>` is not of type `date-time`
-attribute paths.'/accounts/{account_identifier}/stream/{video_identifier}/downloads'(get).operationId is repeated
Debug information:
$ java -jar ./openapi-generator-cli.jar --version
openapi-generator-cli 6.3.0
commit : 8f2676c
built : 2023-02-01T13:04:50Z
source : https://github.com/openapitools/openapi-generator
docs : https://openapi-generator.tech/
What can I do to get openapi-generator
running?