Open pocman opened 8 years ago
There is the same issue with polymorphism if the definitions are not in the .yaml defining the endpoints.
When using a Cat in a /path
, you can have a "not found: type IPet" error.
This is really blocking since, using the above workaround doesn't work :/
import:
type: object
properties:
pet:
$ref: 'pet_definition.yaml#/definitions/Pet'
Hey @slavaschmidt, does this require any additional action?
@LappleApple yep, I think it's not in the master yet because of some other issues which are not fixed yet
Thanks, @slavaschmidt :)
Hi,
I have two models :
and
This generates two errors :
target/scala-2.11/routes/main/model/point.yaml.scala:21: not found: type DateTime
target/scala-2.11/routes/main/model/point.yaml.scala:21: not found: type UUID
As a fix, I'm adding this object to the
definitions
.