Title: Represent empty responses as None · openapi-generators/openapi-python-client · Discussion #799 · GitHub
Open Graph Title: Represent empty responses as None · openapi-generators/openapi-python-client · Discussion #799
X Title: Represent empty responses as None · openapi-generators/openapi-python-client · Discussion #799
Description: Represent empty responses as None
Open Graph Description: When I specify no content for a response, I would expect to generate a sync method and async method that returns None. Currently, I work against an api that has a few endpoints returning no data (t...
X Description: When I specify no content for a response, I would expect to generate a sync method and async method that returns None. Currently, I work against an api that has a few endpoints returning no data (t...
Opengraph URL: https://github.com/openapi-generators/openapi-python-client/discussions/799
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:2ac2d186-6fd0-850a-6072-f426726d9865 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | BAA2:176DB:18803E3:1F3B022:697F2952 |
| html-safe-nonce | 4992b81ec8fff4c8812ee6db8a80f54eb016f57e6e87d751fc9c885bc04f16f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUEyOjE3NkRCOjE4ODAzRTM6MUYzQjAyMjo2OTdGMjk1MiIsInZpc2l0b3JfaWQiOiIyMTQ5NjE3OTg2NTIzMDQ4Mjc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 60f931b0f85878388fb319bbf3d8488bd648a0fb622048bbce6452c59f00af6b |
| hovercard-subject-tag | discussion:5514759 |
| github-keyboard-shortcuts | repository,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/Voltron::DiscussionsFragmentsController/show/openapi-generators/openapi-python-client/799/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/043e97f5b36cab8bb61c21dc1fc5be043c949c8c3cee0104daa2469426001994/openapi-generators/openapi-python-client/discussions/799 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/043e97f5b36cab8bb61c21dc1fc5be043c949c8c3cee0104daa2469426001994/openapi-generators/openapi-python-client/discussions/799 |
| og:image:alt | When I specify no content for a response, I would expect to generate a sync method and async method that returns None. Currently, I work against an api that has a few endpoints returning no data (t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/openapi-generators/openapi-python-client git https://github.com/openapi-generators/openapi-python-client.git |
| octolytics-dimension-user_id | 84925606 |
| octolytics-dimension-user_login | openapi-generators |
| octolytics-dimension-repository_id | 240776275 |
| octolytics-dimension-repository_nwo | openapi-generators/openapi-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 240776275 |
| octolytics-dimension-repository_network_root_nwo | openapi-generators/openapi-python-client |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width