Hi everyone ! I've written an API using swagger and now need the client stubs. The generated code in scala seems to make sense, and however fails upon compilation. The error is the following: [ERROR] /home/colin/Downloads/scalaclient/src/main/scala/io/swagger/client/api/ClockApi.scala:27: error: object Number is not a member of package io.swagger.client.model [ERROR] import io.swagger.client.model.Number
I believe this is because I use the "type" number from the JSON specification. Which is any kind of number encoded in a string in a variety of notations. This is because I find the type integer too restrictive for my needs. I would expect the swagger code generator to include an implementation of this. However, as I'm new to swagger I reckon that I'm probably overlooking or not knowing something that could be helpful to the understanding of this situation. Should any one have ideas I'd be thanful!! Colin -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
