Open Shockolate opened 5 years ago
Same here. This is particularly a problem because our OAS guidelines state that all numbers (and integers) must have a format.
Just a heads up that #35 is ready for merge as far as I'm concerned. This PR will solve the issue.
@Lakitna -- Based on the comment in #35, do you plan on sending this PR to the new repo? This is a small but insanely helpful feature you created!
Yeah, I will when I get home today.
This issue will now be closed with the PR in the new repo: https://github.com/openapi-contrib/openapi-schema-to-json-schema/pull/2
Merged in new repo, you can close this.
If a valid
format
is given, it overrides any givenminimum
andmaximum
values.Consider:
results in: