We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aad19a9 commit b6b254cCopy full SHA for b6b254c
1 file changed
docs/json_schema.md
@@ -202,7 +202,7 @@ You can mark fields as deprecated in the JSON schema using `rfl::Deprecated`. Th
202
```cpp
203
struct Person {
204
rfl::Deprecated<"Use 'full_name' instead.", "The person's first name", std::optional<std::string>>
205
- std::optional<first_name>;
+ first_name;
206
rfl::Description<"The person's full name", std::string> full_name;
207
float salary;
208
};
0 commit comments