Ignasi Marimon-Clos

Results 167 issues of Ignasi Marimon-Clos

Generated Descriptors for javadsl overlooked path param serializers. The `scripted` test for [petstore-java](https://github.com/lagom/sbt-lagom-descriptor-generator/tree/master/lagom-descriptor-generator-sbt-plugin/src/sbt-test/plugin/petstore-java) for example compiles but won't run because at least the following path param serializers for the `StatusEnum`...

If this repository contains Maven and sbt support it will need to be renamed.

It'd be good, as Lagom evolves to be able to generate the code of different Lagom version if/when APIs in Lagom break or include new features. E.g. the current status...

Build in Travis [fails](https://travis-ci.org/lagom/sbt-lagom-descriptor-generator/builds/228296932#L1352) because a `scripted` [test](https://github.com/lagom/sbt-lagom-descriptor-generator/tree/master/lagom-descriptor-generator-sbt-plugin/src/sbt-test/plugin/petstore-scala) is not passing. That test failing is a consequence of a limited support for collection types in the [LagomScala](https://github.com/lagom/sbt-lagom-descriptor-generator/blob/master/lagom-renderers/scaladsl/src/main/scala/com/lightbend/lagom/spec/render/descriptor/ScalaLagomDescriptorRender.scala#L10) code generator (see...

help wanted

A user including this plugin should get code generated for each `xyz-swagger.json` file in `src/main/openapi-v2`. Then the user would have to either `bindClient` or implement and `bindService` each `Service` generated....

Even if formatted code will rarely be read by humans, it'd be good if it's reasonably well formatted. We have two alternatives to achieve it: a) being disciplined and count...

A user including this plugin should get code generated for each `xyz-swagger.json` file in `src/main/openapi-v2`. Then the user would have to either `bindClient` or implement and `bindService` each `Service` generated....

enhancement

Applying Postel's Law parsing a message should be liberal. JsonSchema supports setting up the [`additonalProperties`](https://spacetelescope.github.io/understanding-json-schema/reference/object.html#properties) flag to control that. Enumerated fields may also increase the set of valid values ("male"/"female"...

Current implementation uses a String concat approach to rendering the generated code. `xxxLagomGenerator`s could use mustache, velocity, twirl for the generation.

`LagomGenerator` allows [filtering](https://github.com/lagom/sbt-lagom-descriptor-generator/blob/master/src/main/scala/com/lightbend/lagom/spec/LagomGenerator.scala#L24). A user should be able to plug a `Service => Service` to customize the generator.