Giter Site home page Giter Site logo

Comments (7)

childnode avatar childnode commented on August 15, 2024 1

On my way. For King and Country. 💨

from swagger-codegen-gradle-plugin.

thebignet avatar thebignet commented on August 15, 2024

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.

childnode avatar childnode commented on August 15, 2024

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.

childnode avatar childnode commented on August 15, 2024

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.

thebignet avatar thebignet commented on August 15, 2024

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.

childnode avatar childnode commented on August 15, 2024

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.

thebignet avatar thebignet commented on August 15, 2024

ImportMappings as well as other properties on CodegenConfigurator can be used now.

from swagger-codegen-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.