Document

Download Luna

Luna API

Write, Document, Publish

• Fill in the API Path for the call you want to document (start the API path with a /)

• If it is an existing call, the program will load the definition ready for editing


• If it is a new call then the program will fill in default values for this specific call.

If you want to make changes to the default call definitions (the fields above the tabpanel), you can change the following methods in the program:


HTTP GET:

HTTP POST:

HTTP PUT:

HTTP DELETE:


The default page for the documentation can be defined with the

wndMain strDefaultDocumentationLink and xjDocsClass constants


strDefaultDocumentationLink should be the main page of your xjDocs site

e.g. https://www.lunaapi.ga/Luna/


If you give xjDocsClass the name of the class that contains the xjDocs documentation in your LunaAPI2Swagger project, then this program will automatically generate links to the xjDocs documentation for this call. This will enable you to link to your xjDocs documentation from your swagger documentation.

WndMain.FillApiInfoQGET

WndMain.FillApiInfoQPOST

WndMain.FillApiInfoQPUT

WndMain.FillApiInfoQDELETE