If I have a java class called com.cvent.Foo, what is the proper way to refer to this if I plan on using --import-mappings?
I've tried below and it doesn't work. I've tried many different combinations of this as well and can't find a consistent way for this to work and it's basically undocumented as far as I can tell. properties: fooType: description: "foo stuff." type: string foo: $ref: '#/definitions/Foo' If you specify an externally referenced file like above then you get this error from codegen: generate failed: Could not find definitions/Foo in contents of ./definitions/test.yaml -> [Help 1] -- 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 swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.