Comments (5)
Any updates on this?
from openapi-generator.
Input @wing328:
I think that's a breaking change because users using the auto-generated code before will find the app not working after the big dependency change with the new auto-generated code.
I will try to propose something for 4.0.0-SNAPSHOT
from openapi-generator.
So then it doesn't support OpenAPI 3.0.0 or is it fixed in any other PR.
from openapi-generator.
@mohanaraosv:
OpenAPI generator supports OpenAPI v3 (you can use this as input file). Some code generators (like the jaxrs server generator in this case) produce code that rely on Swagger v2 libraries…
As explained in this issue, it is just a matter of fixing the generator.
from openapi-generator.
I have tried updating the version for the jaxrs-*
generators, but gave up halfway, because the task became too overwhelming for me. You can see my efforts in the last commits of this branch: https://github.com/dummyalias/openapi-generator/commits/feature/swagger2_jaxrs . The changes are still untested and the following is still missing (as far as I can tell):
- More adaptations for
@ApiParam
(e.g. extracting@DefaultValue
) - Fixing all imports (ideally even avoid wildcards)
- Fix
pom.xml
, gradle config, ...
Maybe someone with more experience can use my efforts when fixing this issue.
from openapi-generator.
Related Issues (20)
- Go (client) is not able to generate code that compiles for allOf HOT 1
- [BUG][JAVA] - "ref" not works in open API code generator warn- o.o.codegen.utils.ModelUtils - #/../../../../.. is not defined.
- [REQ] Mutiny-Support for Jax-RS Quarkus Generator HOT 2
- PowerShell Generator creates code snippets but the apiNamePrefix is ignored in the code snippets
- merged spec caused null pointer exception
- [BUG][Python] client's `from_dict` and `to_dict` set optional but non-nullable fields to `None` HOT 2
- [BUG][Python] generate wrong allof class when the it has oneof nested inside HOT 1
- [BUG] [Python] to_json function raise error on date type HOT 2
- [BUG][Python] Schema property named _ (a single underscore) generates broken syntax HOT 6
- [BUG][Kotlin] openapi 3.0.3 allOf + description + nullable = intermediate class created
- [BUG] [typescript-angular] cannot compile with noUncheckedIndexedAccess set to true
- [BUG] [SPRING] Generation of JSonNullable for OpenApi 3.1 stops working from version 7.3
- [BUG] Spring boot 3 - can't see interfaces with default methods. "Ignored because not a concrete top-level class"
- [BUG] [C++] [Restbed] Post handler cannot fetch large request Body
- Python: Creating an async client HOT 2
- [REQ] A go client vendor extension to skip the generation of UnmarshalJSON HOT 1
- [BUG] [JAVA] okhttp-gson joda client codegen ambiguous references for LocalDate and DateTimeFormatter HOT 1
- [BUG][Kotlin-Spring] Default values for Int64 parameters creates broken spring API HOT 1
- Java Play-framework server is using a library that is not available anymore (com.typesafe.play/sbt-plugin/2.8.3) HOT 1
- [BUG] openapi-Normalizer usage in config.yaml file doesn't seem to do anything HOT 9
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 openapi-generator.