openapi2excel.cli
0.1.8
dotnet tool install --global openapi2excel.cli --version 0.1.8
dotnet new tool-manifest
dotnet tool install --local openapi2excel.cli --version 0.1.8
#tool dotnet:?package=openapi2excel.cli&version=0.1.8
nuke :add-package openapi2excel.cli --version 0.1.8
OpenAPI-2-Excel
<div align="center"> <img src="assets/logo.png" width="250px"> </div>
<div align="center">
</div>
Tool to generate Rest API specification in a MS Excel format - human friendly document from Swagger/OpenAPI spec in YAML or JSON. The result should be accessible to Business Analyst and software developers.
[!NOTE]
This project is part of the "100 Commits" competition, whose main purpose is is to develop an original Open Source project for 100 days.
Installation
Download and install the one of the currently supported .NET SDKs. Once installed, run the following command:
dotnet tool install --global openapi2excel.cli
Usage
<div align="center"> <img src="assets/usage.png" width="90%"> </div>
Example
openapi2excel C:\openapi-spec.yml C:\openapi-spec.xlsx
Result
To show how the application works, let's use the official example used on the Swagger Editor website.
openapi2excel https://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml C:\openapi.xlsx
The first tab is an information tab, presenting document details and a list of available operations.
<div align="center"> <img src="assets/info_worksheet.png" width="90%"> </div>
The next tabs contain details of individual operation.
<div align="center"> <img src="assets/operation_details.png" width="90%"> </div>
Wrap Up
If you think the repository can be improved, please open a PR with any updates and submit any issues.
Contribution
- Open a pull request with improvements
- Discuss ideas in issues
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last Updated |
---|---|---|
0.1.8 | 459 | 11/4/2024 |
0.1.7 | 123 | 11/1/2024 |
0.1.6 | 109 | 10/27/2024 |
0.1.5 | 127 | 10/21/2024 |
0.1.4 | 107 | 10/21/2024 |
0.1.3 | 99 | 10/21/2024 |
0.1.2 | 121 | 10/20/2024 |
0.1.1 | 330 | 5/27/2024 |
0.1.0 | 136 | 5/22/2024 |
0.0.6 | 157 | 5/17/2024 |
0.0.5 | 141 | 5/11/2024 |
0.0.4 | 143 | 5/7/2024 |
0.0.3 | 144 | 4/17/2024 |
0.0.2 | 207 | 4/12/2024 |
0.0.1 | 193 | 4/8/2024 |
See https://github.com/pszybiak/openapi-2-excel/blob/main/CHANGELOG.md# for release notes.