emicklei / go-restful-openapi

OpenAPI extension in Go for the go-restful package
MIT License
135 stars 72 forks source link

feat: Make SchemaType a struct containing the RawType and Format for more flexibility #117

Closed schleppy closed 11 months ago

schleppy commented 11 months ago

I noticed another issue that could be handled with a small change. This update should also provide a solution for #115 by specifying the model as

SchemaType{RawType: "string", Format: "binary"}

emicklei commented 11 months ago

@schleppy did you mean to update master i.o v2 branch?

schleppy commented 11 months ago

Ah, indeed I did. I can apply the same changes and open a new PR against V2. Sorry for the oversight.