* @brief Builds a `{type, description}` JSON Schema property fragment. */
| 55 | * @brief Builds a `{type, description}` JSON Schema property fragment. |
| 56 | */ |
| 57 | static QJsonObject makeProperty(const QString& type, const QString& description) |
| 58 | { |
| 59 | QJsonObject prop; |
| 60 | prop[QStringLiteral("type")] = type; |
| 61 | prop[QStringLiteral("description")] = description; |
| 62 | return prop; |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * @brief Builds an `array`-typed property with a full items sub-schema. |
no outgoing calls
no test coverage detected