autorest icon indicating copy to clipboard operation
autorest copied to clipboard

Allow missing `operationId`

Open tigerinus opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Trying to generate code from official Flink OpenAPI spec:

https://nightlies.apache.org/flink/flink-docs-release-1.15/generated/rest_v1_dispatcher.yml

whenever I run

npx --yes autorest --input-file=https://nightlies.apache.org/flink/flink-docs-release-1.15/generated/rest_v1_dispatcher.yml --typescript --output-folder=$PWD/output --clear-output-folder

I get errors:

image

Describe the solution you'd like

Due to that I don't own this spec, plus that I don't want to manually maintain a separate copy of it, so please have an option to bypass the requirement of needing operationId for operations.

Describe alternatives you've considered

Manually maintain a second copy of the yaml file which is defeats the purpose of OpenAPI.

Additional context Add any other context or screenshots about the feature request here.

tigerinus avatar Oct 05 '22 00:10 tigerinus