You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
OpenAPI 3.1 specification defines Schemas properties nullable types as described below to follow JSON Schema 4.
API Platform Admin openAPI schema Analyzer does not process nullable type and fallback to string type instead of extracting type from the non-nullable type. This introduces wrong input type when using Component like InputGuesser for example.
Schema Analyzer should take into account nullable types.
Example
# OpenAPI specification example[…]properties:
myProperty:
type:
- integer
- null# Before fixschemaAnalyze field type is `string`# After fixschemaAnalyzer field type is `integer`
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Description
OpenAPI 3.1 specification defines Schemas properties nullable types as described below to follow JSON Schema 4.
API Platform Admin openAPI schema Analyzer does not process nullable type and fallback to
string
type instead of extracting type from the non-nullable type. This introduces wrong input type when using Component like InputGuesser for example.Schema Analyzer should take into account nullable types.
Example
The text was updated successfully, but these errors were encountered: