Is there a way to generate static html pages with Microsoft.AspNet.WebApi.HelpPage?

101 views Asked by At

Currently, thanks to Microsoft.AspNet.WebApi.HelpPage, I'm able to see API help page.

But I need to run (or publish and deploy to IIS) that ASP.NET Web application.

Does Microsoft.AspNet.WebApi.HelpPage provide any functionality to generate static API help html pages?

1

There are 1 answers

2
Yeheshuah On BEST ANSWER

Not perfect solution, but using wget I was able to go through all help pages and save them all.

Example:

$ wget -r -k -E http://<ip_address>/Help/
$ tree
.
└── <ip_address>
    ├── Areas
    │   └── HelpPage
    │       └── HelpPage.css
    ├── Help
    │   ├── Api
    │   │   ├── DELETE-api-delivery-Data0-is
    │   │   ├── DELETE-api-master-Data1-id
    │   │   ├── DELETE-api-master-Data2-id
    │   │   ├── DELETE-api-master-Data3-id
    │   │   ├── DELETE-api-master-Data4-id
    │   │   ├── DELETE-api-master-Data5-id
    │   │   ├── GET-api-OtherApi1
    │   │   ├── GET-api-OtherApi2
    │   │   ├── GET-api-OtherApi3
    │   │   └── GET-api-OtherApi4
    │   ├── index.html
    │   ├── ResourceModel@modelName=Data1
    │   ├── ResourceModel@modelName=Data2
    │   ├── ResourceModel@modelName=Data3
    │   ├── ResourceModel@modelName=Data4
    │   └── ResourceModel@modelName=Data5
    └── Help.1