Class TRALSwaggerExporter

Unit

Declaration

type TRALSwaggerExporter = class(TObject)

Description

TRALSwaggerExporter

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function ExportToStream(AServer: TRALServer): TStream; overload;
Protected function getComponents(AServer: TRALServer): TRALJSONObject;
Protected function getInfo(AServer: TRALServer): TRALJSONObject;
Protected function getPaths(AServer: TRALServer): TRALJSONObject;
Protected function getSecurity(AAuth: TRALAuthServer): TRALJSONObject;
Protected function getServers(AServer: TRALServer): TRALJSONArray;
Protected function getTags(AServer: TRALServer): TRALJSONArray;
Public procedure ExportToFile(AServer: TRALServer; AFileName: TFileName);
Public procedure ExportToStream(AServer: TRALServer; AStream: TStream); overload;
Protected procedure RouteToJSON(AItem: TRALJSONObject; AServer: TRALServer; AModule: TRALModuleRoutes; ARoute: TRALBaseRoute);

Properties

Published property SwaggerModule: TRALSwaggerModule read FSwaggerModule write FSwaggerModule;

Description

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 
Public function ExportToStream(AServer: TRALServer): TStream; overload;
 
Protected function getComponents(AServer: TRALServer): TRALJSONObject;
 
Protected function getInfo(AServer: TRALServer): TRALJSONObject;
 
Protected function getPaths(AServer: TRALServer): TRALJSONObject;
 
Protected function getSecurity(AAuth: TRALAuthServer): TRALJSONObject;
 
Protected function getServers(AServer: TRALServer): TRALJSONArray;
 
Protected function getTags(AServer: TRALServer): TRALJSONArray;
 
Public procedure ExportToFile(AServer: TRALServer; AFileName: TFileName);
 
Public procedure ExportToStream(AServer: TRALServer; AStream: TStream); overload;
 
Protected procedure RouteToJSON(AItem: TRALJSONObject; AServer: TRALServer; AModule: TRALModuleRoutes; ARoute: TRALBaseRoute);
 

Properties

Published property SwaggerModule: TRALSwaggerModule read FSwaggerModule write FSwaggerModule;
 


GitHub Repository
Generated by PasDoc 0.16.0.