Title: The type of properties is not validated · Issue #234 · python-openapi/openapi-schema-validator · GitHub
Open Graph Title: The type of properties is not validated · Issue #234 · python-openapi/openapi-schema-validator
X Title: The type of properties is not validated · Issue #234 · python-openapi/openapi-schema-validator
Description: Not sure if this is an issue or not, but at least I did not expect it :) Having for example a schema like: --- openapi: "3.1.0" info: title: "Test properties types" version: "0.0.0" paths: /some/{someparam}: get: parameters: - name: some...
Open Graph Description: Not sure if this is an issue or not, but at least I did not expect it :) Having for example a schema like: --- openapi: "3.1.0" info: title: "Test properties types" version: "0.0.0" paths: /some/{s...
X Description: Not sure if this is an issue or not, but at least I did not expect it :) Having for example a schema like: --- openapi: "3.1.0" info: title: "Test properties types" version: &qu...
Opengraph URL: https://github.com/python-openapi/openapi-schema-validator/issues/234
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The type of properties is not validated","articleBody":"Not sure if this is an issue or not, but at least I did not expect it :)\n\n\nHaving for example a schema like:\n```yaml\n---\nopenapi: \"3.1.0\"\ninfo:\n title: \"Test properties types\"\n version: \"0.0.0\"\npaths:\n /some/{someparam}:\n get:\n parameters:\n - name: someparam\n in: path\n required: true\n schema:\n type: idontexistasatype\n```\n\nPasses the validation:\n```\ndcaro@acme$ openapi-spec-validator test.yaml \ntest.yaml: OK\n```\n\n\nCurrently using the latest commit from this repo:\n```\ndcaro@acme$ pip freeze | grep openapi-spec-validator\nopenapi-spec-validator @ git+https://github.com/python-openapi/openapi-spec-validator@118ad6125b35df075ed78d61f4f90d6a0abc1c88\n```\n\nI was expecting it to fail saying that the type `idontexistasatype` is not valid.","author":{"url":"https://github.com/david-caro","@type":"Person","name":"david-caro"},"datePublished":"2025-08-13T10:02:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/234/openapi-schema-validator/issues/234"}
| 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:67adbe5c-7d0e-44c4-19d1-4e19bb647c8b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8FC:2C338B:E5EF99:13CE29F:697768D2 |
| html-safe-nonce | c9a9a8dbc1d0669b40d1d232c4f79a446c6a129e4086e6694f97403a391d1c3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEZDOjJDMzM4QjpFNUVGOTk6MTNDRTI5Rjo2OTc3NjhEMiIsInZpc2l0b3JfaWQiOiI1MjIzMjQ1NTI0NDE2MDMwOTMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0d0eebf1ba0e3509ab62742e3be235d6b978fd77b6eeb16649596190d171fb16 |
| hovercard-subject-tag | issue:3317757694 |
| 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/234/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf4fac959f42550d67522ab2bf92923e5b531f9d74365244df4c549fca756c0e/python-openapi/openapi-schema-validator/issues/234 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf4fac959f42550d67522ab2bf92923e5b531f9d74365244df4c549fca756c0e/python-openapi/openapi-schema-validator/issues/234 |
| og:image:alt | Not sure if this is an issue or not, but at least I did not expect it :) Having for example a schema like: --- openapi: "3.1.0" info: title: "Test properties types" version: "0.0.0" paths: /some/{s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | david-caro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 425384cc392ce2ddd1a7a0c1e7043ab4192d4c04452a2ed7f2f38d2fa9293b5a |
| 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 | 72de26f7ca9bdb0559ebf1e63e6c685ee2c520ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width