Comments (3)
I can do it but i'd like to know
- How long such 'non-essential' feature will be waiting for PR to be merged? I know by amount of issues about csharp lang on repo that this is not really most demanded by users, or at least it looks so by a first glance.
- How should new generator be called? having csharp-dotnet2 that is tied to mono is aready huge pain. Calling it csharp-dotnet3 will be not even fun. Main target is create something compatible with netstandard2.0 but with options that will support c# 10 language features. Changing whole csharp-dotnet2 doesnt feel right as there wont be any backwards compatibility, and some people with ancient projects can be sad about it.
from swagger-codegen.
OpenAPI Generator CLI (basically the successor to Swagger from my understanding) supports generating .Net Core to .Net 6/7/8 but at least for the APIs I'm generating SDK's for the output is mangled as parameters are merged into one without commas inserted in the method signatures, among numerous other issues. There is a huge .Net / C# audience but most are avoiding Swagger and OpenAPI for more recent .Net versions because the tooling is sooooo immature it is seemingly not worth the battle short of joining the dev team and building it right. My easiest path is generating to classic .Net libraries then porting to nestandard2.0 for the SDKs I require but it is tedious and heavy friction for auomating in a pipeline.
Any recommendations for other generators fully and properly supporting .Net 6/7/8 targets?
from swagger-codegen.
OpenAPI Generator CLI (basically the successor to Swagger from my understanding) supports generating .Net Core to .Net 6/7/8 but at least for the APIs I'm generating SDK's for the output is mangled as parameters are merged into one without commas inserted in the method signatures, among numerous other issues. There is a huge .Net / C# audience but most are avoiding Swagger and OpenAPI for more recent .Net versions because the tooling is sooooo immature it is seemingly not worth the battle short of joining the dev team and building it right. My easiest path is generating to classic .Net libraries then porting to nestandard2.0 for the SDKs I require but it is tedious and heavy friction for auomating in a pipeline.
Any recommendations for other generators fully and properly supporting .Net 6/7/8 targets?
NSwagStudio but sometimes it does its job really poorly. And problem is based inside property name decision logic. I made https://github.com/Fildrance/swagger-codegen-generators/blob/feature/issue-%2312366/src/main/java/io/swagger/codegen/v3/generators/dotnet/CsharpDotnetCoreClientCodegen.java and it works, but there are tests to be more work is required : D
https://github.com/Fildrance/keycloak-dotnet-client/tree/main/src/Keycloak.Client is generated by it.
I am thinking about PR-ing my generator at some point, but its not guaranteed.
from swagger-codegen.
Related Issues (20)
- Exception in thread "main" java.lang.RuntimeException: Can't load config class with name apex HOT 1
- Using APIClient (Python) in AWS Lambda function
- swagger-codegen escapes HTML syntax in descriptions when generating HTML, while swagger-ui does not HOT 2
- swagger codegen depends on non compatible apache 2.0 transitive library
- NullPointerException running swagger-codegen-cli for model with nullable integer enum property in schema definition
- Master branch seem broken... CodegenConfiguratorTest.testFromFile:268 expected [1] but found [0] HOT 1
- config "enumPropertyNaming" not working as expected
- Swagger-codegen 3.0.54 do not support msf4j server stub
- [typescript-axios] query property renamed to _query
- [TypeScript-Fetch] Invalid interface definition while setting additionalProperties as true
- Invalid anonymous model name with non-ascii title
- [JAVASpring] Incorrect model classnames but only in lists?
- Wrong dynamic query parameter names in spring
- [Typescript Axios] Bug generating Map or Map<String,String> Model
- NullPointerException Thrown when Both `properties` and `allOf` are Defined in a `schema` Object HOT 1
- Do you have any plan to support Harmony SDK?
- [PHP] Bug missing commas in key-value arrays of generated models and parameter of function calls
- Regression: Swagger CodeGen generates duplicate fields in child DTOs HOT 2
- [PHP] enum values generated without comma HOT 2
- OAS 3.1 support?
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 swagger-codegen.