Title: OpenAPI spec minItems: 1 is not respected · Issue #37 · binarylane/binarylane-cli · GitHub
Open Graph Title: OpenAPI spec minItems: 1 is not respected · Issue #37 · binarylane/binarylane-cli
X Title: OpenAPI spec minItems: 1 is not respected · Issue #37 · binarylane/binarylane-cli
Description: e.g. AdvancedFirewallRule: required: - action - destination_addresses - protocol - source_addresses type: object properties: source_addresses: minItems: 1 type: array items: type: string description: The source addresses to match for thi...
Open Graph Description: e.g. AdvancedFirewallRule: required: - action - destination_addresses - protocol - source_addresses type: object properties: source_addresses: minItems: 1 type: array items: type: string descriptio...
X Description: e.g. AdvancedFirewallRule: required: - action - destination_addresses - protocol - source_addresses type: object properties: source_addresses: minItems: 1 type: array items: type: string descriptio...
Opengraph URL: https://github.com/binarylane/binarylane-cli/issues/37
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OpenAPI spec minItems: 1 is not respected","articleBody":"e.g.\r\n\r\n```yaml\r\nAdvancedFirewallRule:\r\n required:\r\n - action\r\n - destination_addresses\r\n - protocol\r\n - source_addresses\r\n type: object\r\n properties:\r\n source_addresses:\r\n minItems: 1\r\n type: array\r\n items:\r\n type: string\r\n description: The source addresses to match for this rule. Each address may be an individual IPv4 address or a range in IPv4 CIDR notation.\r\n x-cli-format: 1\r\n```\r\n\r\nCLI incorrectly accepts a zero-entry list , e.g. here --source-addresses is empty list `bl server action change-advanced-firewall-rules $ID +rule --source-addresses --destination-addresses 127.0.0.1 --protocol all --action accept`","author":{"url":"https://github.com/nats","@type":"Person","name":"nats"},"datePublished":"2023-03-23T02:49:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/37/binarylane-cli/issues/37"}
| 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:0c9edff6-7020-6186-a6c7-6ea2875e8ef1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B82C:27383:4280A9:5706D0:697F56A8 |
| html-safe-nonce | fc09231c8eb51f3013725d14fc920a05ef29412be2bf355391545237cde75a29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODJDOjI3MzgzOjQyODBBOTo1NzA2RDA6Njk3RjU2QTgiLCJ2aXNpdG9yX2lkIjoiMzk5NTg0MDY3MTE5MjY2NzgxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 97f167942aca497b7cb686998c540c70ddbbe93f8ccabf67762fa0fb38cbda16 |
| hovercard-subject-tag | issue:1636764254 |
| 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/binarylane/binarylane-cli/37/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b21c7acdbfb047b39481fd1751caa5563331d9782ddbb4e23a854fec9f64bbad/binarylane/binarylane-cli/issues/37 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b21c7acdbfb047b39481fd1751caa5563331d9782ddbb4e23a854fec9f64bbad/binarylane/binarylane-cli/issues/37 |
| og:image:alt | e.g. AdvancedFirewallRule: required: - action - destination_addresses - protocol - source_addresses type: object properties: source_addresses: minItems: 1 type: array items: type: string descriptio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nats |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/binarylane/binarylane-cli git https://github.com/binarylane/binarylane-cli.git |
| octolytics-dimension-user_id | 73674190 |
| octolytics-dimension-user_login | binarylane |
| octolytics-dimension-repository_id | 593075004 |
| octolytics-dimension-repository_nwo | binarylane/binarylane-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 593075004 |
| octolytics-dimension-repository_network_root_nwo | binarylane/binarylane-cli |
| 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