question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add "null value support" in spec?

See original GitHub issue

Per https://github.com/swagger-api/swagger-core/issues/459 there are cases where passing null is important. For example:

[ null ]

will be quite different than []. See if this can be an option

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:35
  • Comments:117 (46 by maintainers)

github_iconTop GitHub Comments

21reactions
webroncommented, Mar 2, 2017

We’ve added nullable as a solution in 3.0.0-RC0.

14reactions
bpicolocommented, Apr 13, 2015

+1. Nullability is a sort of awkward thing to not have. It’s definitely a distinct case from required. One is KEY must be present. One is VALUE of key must be present.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Null Value Support - Apache Pinot Docs
During Query execution, if the query includes a IS NULL or IS NOT NULL predicate as shown above, we fetch the NULL value...
Read more >
How to input null-value into specflow step definition table
FirstOrDefault(vr => vr is TechTalk.SpecFlow.Assist.ValueRetrievers.StringValueRetriever); if (defaultStringValueRetriever != null) { Service.Instance.
Read more >
Using Optional and Nullable Properties in API Requests
OpenAPI supports values of data types to be null. To specify, one can use the “nullable: true” property while defining a data type...
Read more >
Keep nulls or default values during bulk import - SQL Server
For bulk import in SQL Server, both bcp and BULK INSERT load default values to replace null values. For both, you can choose...
Read more >
B.3.4.3 Problems with NULL Values - MySQL :: Developer Zone
To help with NULL handling, you can use the IS NULL and IS NOT NULL operators and the IFNULL() function. In SQL, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found