Fork me on GitHub
#ring-swagger
<
2017-05-26
>
daveliepmann16:05:36

Hey, I'd like to check the version of codegen used by ring-swagger/compojure-api, but I don't see a dependency. Any ideas on where to look?

ikitommi16:05:19

@daveliepmann there is no dependency, Isn't the codegen is just for the client generation? ring-swagger output can be validated against the swagger json schema, so I hope the client-gen just works. Are the problems with it?

daveliepmann16:05:00

@ikitommi No problem, I just need to verify the version because of a security vulnerability in an old version.

daveliepmann16:05:54

Perhaps I misunderstand the stack around it

ikitommi16:05:48

oh, the codegen also has the server stub generation. That would be nice, to have a swagger spec and generate sample server out of it.

ikitommi16:05:36

someone should first do the json schema -> spec/schema converter.

ikitommi16:05:33

Hmm... actually, soon that the validation lib can changed, one could use plain JSON Schema as the validation engine. Stub generation would be trivial.

daveliepmann16:05:55

OK I definitely misunderstood the role codegen played. My mistake

daveliepmann16:05:03

Late Friday afternoon 🙂

daveliepmann16:05:39

Thanks as always for your quick help. Have a good weekend!