You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to generate types in csharp, using the opc-publisher/openapi.json file... im getting this error:
fatal | Error: Unknown type for constant value for String 'int32'--cannot create constant value.
fatal | Process() cancelled due to failure
error | Error: Plugin modelerfour reported failure.
error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
the command im running ( i renamed file to opcpublisher.json) is:
If you would like to help, you could take the json file and identify the offending line(s), then manually update until autorest likes it. Then I can fix the swaggergen part and re-generate the json in main branch pretty quickly.
Might be related to Azure/autorest.csharp#4127 and the format for the enums breaking it. This used to work just fine a year ago when we still generated code but I must confess we have never run Autorest since then maybe this gives a clue and replacing the format int32 there is worth a try.
When trying to generate types in csharp, using the opc-publisher/openapi.json file... im getting this error:
the command im running ( i renamed file to opcpublisher.json) is:
autorest --input-file=opcpublisher.json --csharp --ouput-folder=generated --verbose
does this mean that its broken ?
The text was updated successfully, but these errors were encountered: