Title: attempting to register produces strange validation error messages about regexes · Issue #1 · SmartAPI/smartapi_registry · GitHub
Open Graph Title: attempting to register produces strange validation error messages about regexes · Issue #1 · SmartAPI/smartapi_registry
X Title: attempting to register produces strange validation error messages about regexes · Issue #1 · SmartAPI/smartapi_registry
Description: I'm trying to register https://api.monarchinitiative.org/api/swagger.json I get this, which is fairly opaque: OAS3] '': 'basePath', 'consumes', 'definitions', 'produces', 'responses', 'swagger' do not match any of the regexes: '^x-' Beca...
Open Graph Description: I'm trying to register https://api.monarchinitiative.org/api/swagger.json I get this, which is fairly opaque: OAS3] '': 'basePath', 'consumes', 'definitions', 'produces', 'responses', 'swagger' do ...
X Description: I'm trying to register https://api.monarchinitiative.org/api/swagger.json I get this, which is fairly opaque: OAS3] '': 'basePath', 'consumes', 'definitions', ...
Opengraph URL: https://github.com/SmartAPI/smartapi_registry/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"attempting to register produces strange validation error messages about regexes","articleBody":"I'm trying to register https://api.monarchinitiative.org/api/swagger.json\r\n\r\nI get this, which is fairly opaque:\r\n\r\n\r\n\r\n`OAS3] '': 'basePath', 'consumes', 'definitions', 'produces', 'responses', 'swagger' do not match any of the regexes: '^x-'`\r\n\r\nBecause I'm somewhat familiar with OpenAPI I know this is something to do with `x-` fields, but I'm still at a loss as to how to change my flask code to fix this (and I don't want to have to keep a separate description in sync). And I'm relatively experienced, others coming to this will be more puzzled.\r\n\r\nIdeally this would link to a FAQ, but I think overall it would be better if SmartAPI were more tolerant. What does it matter if there are some additional fields it doesn't know about? Why should this block registration?\r\n\r\nI know we have a current entry for the monarch biolink instance which comes from here https://github.com/NCATS-Tangerine/translator-api-registry/blob/master/biolink/openapi.yml\r\n\r\nbut this looks like it has been heavily tweaked from the source, and in the intervening time we have added new routes","author":{"url":"https://github.com/cmungall","@type":"Person","name":"cmungall"},"datePublished":"2017-12-13T04:30:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1/smartapi_registry/issues/1"}
| 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:45ef2fe1-c156-c600-7715-b63869965a00 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDCA:17D55F:13DB208:193BCBC:69916761 |
| html-safe-nonce | 339123d2ecf6652e2b1f5fb5abe33567177249e74f6a5e82310c9584258024ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERENBOjE3RDU1RjoxM0RCMjA4OjE5M0JDQkM6Njk5MTY3NjEiLCJ2aXNpdG9yX2lkIjoiOTA5MTczOTgxNjUxMzU5NTIzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 75d93cefcdd3cd40c8ccd185a56405abc5fe70f12e2c982f6151c88261e642c1 |
| hovercard-subject-tag | issue:281622007 |
| 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/SmartAPI/smartapi_registry/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/476d32f96327681464571c20571c0c6bdc0a3bbeb20a0de91c6caa5ffec7e01e/SmartAPI/smartapi_registry/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/476d32f96327681464571c20571c0c6bdc0a3bbeb20a0de91c6caa5ffec7e01e/SmartAPI/smartapi_registry/issues/1 |
| og:image:alt | I'm trying to register https://api.monarchinitiative.org/api/swagger.json I get this, which is fairly opaque: OAS3] '': 'basePath', 'consumes', 'definitions', 'produces', 'responses', 'swagger' do ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cmungall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/SmartAPI/smartapi_registry git https://github.com/SmartAPI/smartapi_registry.git |
| octolytics-dimension-user_id | 24528940 |
| octolytics-dimension-user_login | SmartAPI |
| octolytics-dimension-repository_id | 103380911 |
| octolytics-dimension-repository_nwo | SmartAPI/smartapi_registry |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 103380911 |
| octolytics-dimension-repository_network_root_nwo | SmartAPI/smartapi_registry |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width