Comments (9)
I tried it with version 6.6.0, it worked. Thanks.
from client-encryption-csharp.
Hi @alppaycore, Thanks for raising this issue!
This could be a result of conflicting versions of Restsharp on your local machine. Our library uses version 108.0.3 of Restsharp.
If aligning these versions of Restsharp on your local machine doesn't work, please provide us with code snippets that we can use to further debug the issue you're experiencing.
from client-encryption-csharp.
from client-encryption-csharp.
Hi @alppaycore
I do not see the attached project, can you please attached to this GitHub issue #23 directly
Thanks
Karen
from client-encryption-csharp.
https://github.com/alppaycore/MastercardApi.Client
from client-encryption-csharp.
Hi @alppaycore
I was able to build your project, after I have run the following command
dotnet add package RestSharp
.
Please read here for more reference: https://restsharp.dev/intro.html#introduction.
Let me know if it helps
from client-encryption-csharp.
It compiles with the current Resharp version (110.2.0), there is no problem there. I get an error when I run it. I cannot compile it with version 108.0.3 either.
from client-encryption-csharp.
@alppaycore can you please regeneration the client using https://github.com/openapitools/openapi-generator.git version v6.6.0.
The generated code you have provided is using version 7 which using Restsharp 110.2.0- and those are incompatible. Our library does support 108.0.3 - and we are moving to the next version soon, as soon as version 8.0 of open API generator is released.
let me know if that will work for you.
from client-encryption-csharp.
Closing the issue. the resolution is to use https://github.com/openapitools/openapi-generator.git version v6.6.0.
from client-encryption-csharp.
Related Issues (13)
- Test and update the MDES Digital Enablement configuration
- [REQ] Feature Request Description
- Support Operating system-agnostic version HOT 1
- [BUG] Error 400! Request is not encrypted. Payload is already encrypted HOT 4
- [BUG] The specified nonce is not a valid size for this algorithm. (Parameter 'nonce') HOT 4
- [BUG] JWE for .net framework HOT 1
- [BUG] The specified nonce is not a valid size for this algorithm. HOT 1
- [BUG] Which generator is deprecated? HOT 2
- [BUG] Description HOT 3
- Missing netstandard.dll correct version HOT 1
- Missing parent object in JWE encrypted payload
- JsonReaderException when encrypting/decrypting arrays HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client-encryption-csharp.