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
Hello in this below line related with my Certificate.cs generated file I`m receiving error below[error]
any idea to help
[file line]
global::System.DateTime? Sample.API.Models.ICertificateInternal.RevocationStatusRevokedOn { get => ((Sample.API.Models.IRevocationStatusInternal)RevocationStatus).RevokedOn; set => ((Sample.API.Models.IRevocationStatusInternal)RevocationStatus).RevokedOn = value; }
[error]
C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\generated\api\Models\Certificate.cs(72,266): error CS0266: Cannot implicitly convert type 'System.DateTime?'
to 'System.DateTime'. An explicit conversion exists (are you missing a cast?) [C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\SwissPkiRegistrationRestApi.
csproj]
C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\generated\api\Models\CertificateOrder.cs(97,252): error CS0266: Cannot implicitly convert type 'System.DateT
ime?' to 'System.DateTime'. An explicit conversion exists (are you missing a cast?) [C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\SwissPkiRegistrationRes
tApi.csproj]
C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\generated\api\Models\CertificateOrder.cs(109,258): error CS0266: Cannot implicitly convert type 'System.Date
Time?' to 'System.DateTime'. An explicit conversion exists (are you missing a cast?) [C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\SwissPkiRegistrationRe
stApi.csproj]
Write-Error: C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\build-module.ps1:76:5``
any idea to help
The text was updated successfully, but these errors were encountered:
basically I have installed the node and npm instal -g autorest and added the json content from this swisspki swagger to test.json file and executed command below.
the same json works in open-api-generator but with open api im having problems to get compatibility between ps5.1 and ps 7...basically openapi generator just works in ps7. then i have a question will it be possible to compile a version to work in ps 5.1 wit autorest?
Hello in this below line related with my Certificate.cs generated file I`m receiving error below[error]
any idea to help
[file line]
global::System.DateTime? Sample.API.Models.ICertificateInternal.RevocationStatusRevokedOn { get => ((Sample.API.Models.IRevocationStatusInternal)RevocationStatus).RevokedOn; set => ((Sample.API.Models.IRevocationStatusInternal)RevocationStatus).RevokedOn = value; }
[error]
C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\generated\api\Models\Certificate.cs(72,266): error CS0266: Cannot implicitly convert type 'System.DateTime?'
to 'System.DateTime'. An explicit conversion exists (are you missing a cast?) [C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\SwissPkiRegistrationRestApi.
csproj]
C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\generated\api\Models\CertificateOrder.cs(97,252): error CS0266: Cannot implicitly convert type 'System.DateT
ime?' to 'System.DateTime'. An explicit conversion exists (are you missing a cast?) [C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\SwissPkiRegistrationRes
tApi.csproj]
C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\generated\api\Models\CertificateOrder.cs(109,258): error CS0266: Cannot implicitly convert type 'System.Date
Time?' to 'System.DateTime'. An explicit conversion exists (are you missing a cast?) [C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\SwissPkiRegistrationRe
stApi.csproj]
Write-Error: C:\Users\marcel.ghisi\Projects\venafi_autorest\generated\build-module.ps1:76:5``
any idea to help
The text was updated successfully, but these errors were encountered: