Skip to content

Conversation

@luckydonald
Copy link

@luckydonald luckydonald commented Jun 26, 2024

Pull request for #122.

@commonism
Copy link

In Python, "number" is analogous to the float type.
https://json-schema.org/understanding-json-schema/reference/numeric#number

Here, the default type has to be (casted to) float instead of accepting integer as type for number.
Anyway, I've forked this library some time ago. Maybe try it.

aiopenapi3 -v validate https://demo.grocy.info/api/openapi/specification
…  0:00:01.856150 (processing time)
… 86 #operations
… 0 #operations (with operationId)
… 0 https://demo.grocy.info/api/openapi/specification: 52
… 52 schemas total
OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants