Namespace: Consultingwerk.BusinessEntityDesigner.Plugins.SwaggerGenerator
Class 
SwaggerGenerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.BusinessEntityDesigner.Plugins.SwaggerGenerator.ISwaggerGenerator

File:SwaggerGenerator
Purpose:Business Entity Designer link tor the SwaggerDefinitionGenerator
Author(s):Martyn Kemp / Consultingwerk Ltd.
Created:Wed May 17 19:35:56 BST 2017
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
+ GenerateSwaggerAnnotations (character, character, character, character, character) Generates Swagger file annotations
+ GenerateSwaggerFile (character, character, character) Generates Swagger file annotations
+ Consultingwerk.OERA.JsdoGenericService.RestServiceAddress GetRestServiceAddress (character) Returns the RestServiceAddress from the restapplicationsettings file


Method Detail
Top

PUBLIC GenerateSwaggerAnnotations (character, character, character, character, character)

Purpose: Generates Swagger file annotations
Notes:

Parameters:
pcBusinessEntitypackage CHARACTER
The Business Entity Package
pcBusinessEntityName CHARACTER
The Business Entity name
pcDirectory CHARACTER
The directory to generate the class annotations from
pcFileMask CHARACTER
The file mask of the .cls files to process
pcServiceURI CHARACTER
The Service URI
Top

PUBLIC GenerateSwaggerFile (character, character, character)

Purpose: Generates Swagger file annotations
Notes:

Parameters:
cEntityName CHARACTER
The Entity to generate from
cFileName CHARACTER
The File to generate the class annotations from
cServiceURI CHARACTER
The Service URI
Top

PUBLIC Consultingwerk.OERA.JsdoGenericService.RestServiceAddress GetRestServiceAddress (character)

Purpose: Returns the RestServiceAddress from the restapplicationsettings file
Notes:

Parameters:
pcEntityName CHARACTER
The BusinessEntity name of the requested catalog
Returns Consultingwerk.OERA.JsdoGenericService.RestServiceAddress
The RestServiceAddress


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:22:56