Anna Bocharova

Results 87 comments of Anna Bocharova

need to change `mime` to `mime-types` here, in accordance with `express` and `express#send` dependencies

what about negative and float numbers?

Ok, I found the PR that describes the reason: https://github.com/metadevpro/openapi3-ts/issues/78 And this looks a bit strange to me, since my link to the spec is taken from the swagger.io website:...

Here is another link to the documentation that describes `exclusiveMaximum` as boolean: https://swagger.io/docs/specification/data-models/data-types/?sbsearch=exclusiveMaximum It's based on OpenAPI 3.0 and as per my understanding it should not be breaking changes in...

Holy Moly, they really changed it without any backward compatibility: https://www.ietf.org/rfcdiff?url1=draft-wright-json-schema-validation-00&url2=draft-wright-json-schema-validation-01&difftype=--html ![image](https://user-images.githubusercontent.com/13189514/184909527-10f08736-4b23-4ea9-8860-d5d2eb68acb2.png)

Yeah, I see. So, if the library is currently only `3.1` compatible, should we reflect it on `openapi` version here, for example: https://github.com/metadevpro/openapi3-ts/blob/master/src/dsl/OpenApiBuilder.ts#L16 ? And there also a lot of...

> Indeed, we can enforce 3.1.0 but also thinking about relaxing the type for exclusiveMaximum and exclusiveMinimum to be number | boolean to help people to transition from OpenAPI 3.0...

> What do you need in your use cases @RobinTail 3.0.0 or 3.1.0? For my case, I need to provide users of my library with a tool that generates the...

It's ok, @OrIOg . I prepared another one: #85 , according to @pjmolina vision. It's much simpler and might fulfill all needs.