Pierre Fenoll

Results 240 comments of Pierre Fenoll

By "loading swagger" you must mean to deserialize the openapi document? In which case no, I mean to add a flag that allows skipping the verification of correctness of the...

does openapi allow unspecified query params?

Hi! This is interesting. Are you still looking to merge this? I'm thinking that the OpenAPIv3 spec does not treat query params a certain way. Schemas do allow "undescribed query...

@Alexey19 Feel free to re-open if needed.

Indeed headers (as well as examples) are not converted https://github.com/getkin/kin-openapi/blob/707e4ba1acb2ff3340c197dde6d4527b9e8bcbec/openapi2/openapi2.go#L216-L223 This snippet needs editing https://github.com/getkin/kin-openapi/blob/707e4ba1acb2ff3340c197dde6d4527b9e8bcbec/openapi2conv/openapi2_conv.go#L402-L415 cc https://github.com/getkin/kin-openapi/issues/366 PRs very welcomed :)

Have a look at https://github.com/ghodss/yaml And if you have the time I'd happily review a pull request that solves this for others, be it only an example.

My opinion is it'd be best to bring in https://github.com/xeipuuv/gojsonschema and switch on OpenAPI's version field to know when to translate an OpenAPI `

Hi Kevin, this issue is still open although was not discussed outside of issues as far as I'm aware. I think the way to support 3.1 as well as solve...

Actually gojsonschema only `Supports draft-04, draft-06 and draft-07.` today. I'm not finding any lib that supports the [2020-12 draft](https://tools.ietf.org/html/draft-bhutton-json-schema-00) that [OpenAPIv3.1](https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0) relies on. I do think that the move to...

Yes and I did see the benchmark mentioning it was less correct than the other lib. See https://github.com/wbvinc/go-jsonschema-validator-benchmarks I did not verify this on my end however. I haven't dug...