/
servlamo
/
cue
Обзор
Документация
Войти
/
servlamo
/
cue
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
encoding/openapi/testdata/nums.json
49 строк
1 KB
Marcel van Lohuizen
encoding/openapi: correctly extract type in the presence of null
01 апр 2021, 22:11
01 апр 2021, 22:11
2115955
Код
Авторство
О чём код?
{ "openapi": "3.0.0", "info": { "title": "Generated by cue.", "version": "no version" }, "paths": {}, "components": { "schemas": { "exMax": { "type": "number", "maximum": 6, "exclusiveMaximum": true }, "exMin": { "type": "number", "minimum": 5, "exclusiveMinimum": true }, "int": { "type": "integer", "format": "int64" }, "intNull": { "type": "integer", "minimum": -9223372036854775808, "maximum": 9223372036854775807, "nullable": true }, "mul": { "type": "number", "multipleOf": 5 }, "neq": { "type": "number", "not": { "allOff": [ { "minimum": 4 }, { "maximum": 4 } ] } } } } }