You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Emit top-level {name}Url functions that build the request URL.
/// </summary>
publicboolExportUrls{get;set;}=false;
/// <summary>
/// Keep Dart models unique, meaning, models with same fields and types will be merged into one model with the name of the first model. Significantly reduces number of generated models.
/// </summary>
publicboolUniqueModels{get;set;}=false;
/// <summary>
/// Name of the header to use for XSRF token in upload requests. Set to null to skip.
/// </summary>
publicstring?XsrfTokenHeaderName{get;set;}=null;
/// <summary>
/// Emit public create{Name}EventSource factory functions for streaming (SSE) endpoints.
/// When false, the factories are emitted with a private (underscore) name and only used internally.
/// </summary>
publicboolExportEventSources{get;set;}=true;
/// <summary>
/// Include optional named parameter `Uri Function(Uri uri)? parseUrl` that can rewrite the constructed URI before the request is made.
/// </summary>
publicboolIncludeParseUrlParam{get;set;}=false;
/// <summary>
/// Include optional named parameter `http.Request Function(http.Request request)? parseRequest`
/// (or `http.MultipartRequest Function(http.MultipartRequest multipart)? parseRequest` for uploads)
/// that can rewrite the constructed request before it is sent.
/// When true, include PostgreSQL schema name in the generated names to avoid name collisions. Set to false to simplify names when no name collisions are expected.
/// </summary>
publicboolIncludeSchemaInNames{get;set;}=false;
/// <summary>
/// Name for the generated error class carrying problem-details responses.
/// Only used when IncludeStatusCode is true.
/// Default is "ApiError".
/// </summary>
publicstringErrorTypeName{get;set;}="ApiError";
/// <summary>
/// Name for the generated generic result class: {ResultTypeName}<T> with status, response and error fields.
/// Only used when IncludeStatusCode is true.
/// Default is "ApiResult".
/// </summary>
publicstringResultTypeName{get;set;}="ApiResult";
/// <summary>
/// When true, parameters that are filled by the server and cannot be set by the client are omitted
/// from the generated request class, query string, and body. This covers automatic parameters
/// that are also optional: HTTP Custom Type fields, resolved-parameter expressions, upload metadata,
/// and — on endpoints that use user parameters — IP-address and user-claim parameters. A client value
/// for these would be overridden server-side, so emitting them is misleading. Default is false
/// (all parameters are emitted, preserving existing generated output).