Single example value for JSON Schema documentation.
Example<Value> is a type tag that adds a representative example value to
the generated JSON Schema. This is metadata-only - it appears in the
example field of the schema and helps API consumers understand expected
values.
Examples are displayed in API documentation tools like Swagger UI and can be
used by code generators to produce more helpful client code.
Supports all JSON-compatible types: primitives, objects, arrays, and null.
For multiple named examples, use Examples instead.
Single example value for JSON Schema documentation.
Example<Value>is a type tag that adds a representative example value to the generated JSON Schema. This is metadata-only - it appears in theexamplefield of the schema and helps API consumers understand expected values.Examples are displayed in API documentation tools like Swagger UI and can be used by code generators to produce more helpful client code.
Supports all JSON-compatible types: primitives, objects, arrays, and null. For multiple named examples, use Examples instead.