SwaggerExample is a namespace of decorators that attach example values
to controller methods (request/response bodies, parameters), so that
@nestia/sdk's Swagger generator can populate the example / examples
fields of the generated OpenAPI document.
The decorators only affect Swagger document generation. They do not change
runtime behavior, validation, or SDK function signatures.
Attach example values to Swagger documents.
SwaggerExampleis a namespace of decorators that attach example values to controller methods (request/response bodies, parameters), so that@nestia/sdk's Swagger generator can populate theexample/examplesfields of the generated OpenAPI document.The decorators only affect Swagger document generation. They do not change runtime behavior, validation, or SDK function signatures.
Example
Author
Jeongho Nam - https://github.com/samchon