Sergey Vilgelm
Sergey Vilgelm
@slow-zhang here is the PR: https://github.com/emicklei/go-restful-openapi/pull/78
it is a really good question, in my opinion, the `[]byte` should be converted to ```json { "type": "string", "format": "binary" } ``` if we do ```go type email struct...
I think the generic solution is adding the ignore rules, like if a response or body is passed to a defined in the rules function, then ignore that case
Hey, I'm also interesting in this PR. @zoumo ?
no worries, it is not something major, just some warnings, that can be avoided. You know what I think, maybe we can add a supporting for `allOf` (it is par...
ok, thank you! I think it would be better to create another project to keep v2 available for other
I did some research and seems only this https://github.com/getkin/kin-openapi/tree/master/openapi3 project is alive, so v3 branch will require to use kin lib instead of swagger Is it OK? I'm not sure...
forget about my last suggestion about using kin for v2, it will break existent code for all users for sure
it is up to you, but seems it supports v3 pretty well. I have created my own lib for v3.1, but it depends on go v1.18, because of generics: https://github.com/sv-tools/openapi
it is not supported yet, I used kin-openapi to convert v2 to v3, worked well, with some hacks of course. It really depends what you want from the v3 API....