Comments (7)
On my way. For King and Country. 💨
from swagger-codegen-gradle-plugin.
Would you like to make a PR for this ? It shouldn't be too difficult. As I see, there should be an optional parameter typeMappings, which is a map to be given to method configurator.setTypeMappings
from swagger-codegen-gradle-plugin.
a simple but more drastic way to solve this: https://github.com/thebignet/swagger-codegen-gradle-plugin/compare/master...childnode:feature/eliminateSwaggerPluginExtensionInFavourOfCodegenConfiguratorPassedToGradle?expand=1
I see: this would break any current usage ... so I'll go backward making it less radical but "backward compatible"
from swagger-codegen-gradle-plugin.
let's discuss
is https://github.com/thebignet/swagger-codegen-gradle-plugin/compare/master...childnode:feature/27-addMissingConfiguratorOptions?expand=1
good enough for a pr?! :)
I see ... documentation is still incomplete, not checked safety for correctness, neither did I add any tests ... yet
from swagger-codegen-gradle-plugin.
Sorry for the delay. The PR has conflicts due to other PR merged in the meantime. Do you think you could rebase this PR on master ?
from swagger-codegen-gradle-plugin.
seems to there is another pr #30 that merely covers importMapping
perhaps @boxever is willing to help getting rebased what has been discussed in #27 (comment) where importMapping was covered too, see
04ec440
+ 25021e6 => e.g. README line 86, SwaggerCodeGenTask.groovy line 27
+ 5ecd050
but @boxever also thought on the test class {{SwaggerCodeGenTaskTest}} ... I didn't *shameOnMe*
mhh ... let's see if I get all this together - if someone's faster ... feel free, but just let me know it you're working on ;)
but @thebignet the last entry on this discussion ended on the question mark if it's ok in general to go forward or if we would like a more drastic way as suggested in my first "draft" in #27 (comment)
so: what do you think about these two approaches? Which one do you prefer?
from swagger-codegen-gradle-plugin.
ImportMappings as well as other properties on CodegenConfigurator can be used now.
from swagger-codegen-gradle-plugin.
Related Issues (20)
- [Feature Request] Add support for incremental builds HOT 1
- [Feature Request] Support for multiple input specs HOT 1
- Published location HOT 4
- Multiple Tasks HOT 2
- License? HOT 6
- Pass swagger-codegen version as argument HOT 2
- Version 1.6.3 at the plugin repo doesn't match the example HOT 1
- Question about configuration (documentation issue?) HOT 1
- How to configure cleanOutputDir HOT 3
- ignoreFileOverride properties dont work for me HOT 1
- Doesn't seem to create output files HOT 4
- Generated Code Output Dir HOT 1
- Allow more than one language generation HOT 1
- Read swagger.yaml from dependency jar HOT 1
- Generating models from multiple sources HOT 6
- Plugin tries to clean project dir HOT 1
- Question regarding customised generator HOT 4
- Problem with ignoreFileOverride HOT 3
- Deprecation question! HOT 7
- No "Issues" tab for swagger-codegen-gradle-plugin-example
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-gradle-plugin.