Title: Nullable Strings are not recognized, incorrect check for None if type is string · Issue #130 · python-openapi/openapi-schema-validator · GitHub
Open Graph Title: Nullable Strings are not recognized, incorrect check for None if type is string · Issue #130 · python-openapi/openapi-schema-validator
X Title: Nullable Strings are not recognized, incorrect check for None if type is string · Issue #130 · python-openapi/openapi-schema-validator
Description: I was digging through the code and it seems for string type None validation there is no check for nullable. It is in the code but validate from shortcuts pulls directly the jsonschema type validator which ignores nullables alltoghether. ...
Open Graph Description: I was digging through the code and it seems for string type None validation there is no check for nullable. It is in the code but validate from shortcuts pulls directly the jsonschema type validato...
X Description: I was digging through the code and it seems for string type None validation there is no check for nullable. It is in the code but validate from shortcuts pulls directly the jsonschema type validato...
Opengraph URL: https://github.com/python-openapi/openapi-schema-validator/issues/130
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nullable Strings are not recognized, incorrect check for None if type is string","articleBody":"I was digging through the code and it seems for string type None validation there is no check for nullable. It is in the code but validate from shortcuts pulls directly the jsonschema type validator which ignores nullables alltoghether.\r\n\r\nI am looking for a possibility for it wo work. \r\nCan be easily replicated by adding to the examle on README a nullable string and put it in the content. ","author":{"url":"https://github.com/tuxmania87","@type":"Person","name":"tuxmania87"},"datePublished":"2023-09-18T06:56:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/130/openapi-schema-validator/issues/130"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8ceeb4a8-1064-7ac6-6734-fd17f48dfd1f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8276:24795C:1983D5F:2381EEE:6977852B |
| html-safe-nonce | e32f8716abbcfa4efc3123f0b07ec593c9915e4464a600bba4564f0b2bcd1a51 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mjc2OjI0Nzk1QzoxOTgzRDVGOjIzODFFRUU6Njk3Nzg1MkIiLCJ2aXNpdG9yX2lkIjoiNDY0NDE2MDY0NTg3OTAwNjUwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c81618f244cd2acdf14359dbd7994597b4ba3e4b26cdcfc440b445f0b87152a9 |
| hovercard-subject-tag | issue:1900289350 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-openapi/openapi-schema-validator/130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af5993bb725c7a184561087a5ffbbdbf44d8e66c3fb921dad732a2aa775dc17f/python-openapi/openapi-schema-validator/issues/130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af5993bb725c7a184561087a5ffbbdbf44d8e66c3fb921dad732a2aa775dc17f/python-openapi/openapi-schema-validator/issues/130 |
| og:image:alt | I was digging through the code and it seems for string type None validation there is no check for nullable. It is in the code but validate from shortcuts pulls directly the jsonschema type validato... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tuxmania87 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-openapi/openapi-schema-validator git https://github.com/python-openapi/openapi-schema-validator.git |
| octolytics-dimension-user_id | 126442889 |
| octolytics-dimension-user_login | python-openapi |
| octolytics-dimension-repository_id | 245119225 |
| octolytics-dimension-repository_nwo | python-openapi/openapi-schema-validator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 245119225 |
| octolytics-dimension-repository_network_root_nwo | python-openapi/openapi-schema-validator |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 523f6485bbeeb9958ec03260b225e9183734585d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width