Swagger file not included in generated static documentation
Open
rest-api
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 890
- Avg merge
- 2h 11m
- Merged PRs (30d)
- 10
Description
**Operating System**: (`Windows` or `Linux` or `MacOS`)
Windows
**DocFX Version Used**:
Latest NuGet
**Template used**: (`default` or `statictoc` or contain custom template)
statictoc
**Steps to Reproduce**:
1. Install NuGet package into WebAPI 2.0 solution
2. Add "contacts.swagger.json" (example from public DocFX website, unchanged) to "api" folder
3. Add "api/*.swagger.json" to "build"/"content"/"files"
**Expected Behavior**:
Open __site/api/index.html, Contacts should be in the left menu sidebar
**Actual Behavior**:
It is not.
Contributor guide
Assessment
This issue has not been assessed yet.