https://github.com/centeredge/yardarm-action
Contains a GitHub action for the OpenAPI 3 SDK 3 generator, Yardarm
https://github.com/centeredge/yardarm-action
Last synced: 4 months ago
JSON representation
Contains a GitHub action for the OpenAPI 3 SDK 3 generator, Yardarm
- Host: GitHub
- URL: https://github.com/centeredge/yardarm-action
- Owner: CenterEdge
- License: apache-2.0
- Created: 2023-09-13T17:19:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-22T18:23:12.000Z (over 2 years ago)
- Last Synced: 2025-09-30T12:05:15.443Z (9 months ago)
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CenterEdge/yardarm-action@v1
Contains a GitHub action for the OpenAPI 3 SDK 3 generator, Yardarm
## Usage
```yaml
- uses: CenterEdge/yardarm-action@v1
with:
yardarm: 0.3.x
dotnet-version: 6.0.x
args: generate -i my-spec.yaml -n MySpec -v 1.0.0 -o output/directory/ -x Yardarm.NewtonsoftJson Yardarm.MicrosoftExtensionsHttp
```
## Inputs
- `yardarm` - The version of yardarm to install as a dotnet tool, supports semver, eg `0.3.x` for the latest `0.3` version or `latest` for latest
- `dotnet-version` - The version of dotnet to setup, this uses the official `actions/setup-dotnet` action
- `pre-release` - Set to true to enable prerelease searching for the yardarm version
- `args` - The args to pass directly to the `yardarm` command