Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamko-dev/zally-gradle-plugin
Use Zally to validate OpenAPI specs in a Gradle project
https://github.com/adamko-dev/zally-gradle-plugin
gradle gradle-plugin kotlin openapi openapi-spec openapi3 zalando zally
Last synced: about 1 month ago
JSON representation
Use Zally to validate OpenAPI specs in a Gradle project
- Host: GitHub
- URL: https://github.com/adamko-dev/zally-gradle-plugin
- Owner: adamko-dev
- License: apache-2.0
- Created: 2022-08-02T20:33:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T11:25:51.000Z (about 2 years ago)
- Last Synced: 2024-10-01T00:05:19.039Z (about 2 months ago)
- Topics: gradle, gradle-plugin, kotlin, openapi, openapi-spec, openapi3, zalando, zally
- Language: Kotlin
- Homepage:
- Size: 80.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zally Gradle Plugin
[Zally Gradle Plugin](https://github.com/adamko-dev/zally-gradle-plugin) is an
unofficial Gradle Plugin for [Zally](https://github.com/zalando/zally), the
minimalistic, simple-to-use OpenAPI 2 and 3 linter.The Zally Gradle plugin is based on the
[Zally Maven plugin](https://github.com/ethlo/zally-maven-plugin).**This project is unfinished**. I'm sharing the work so far to get the ball rolling.
### Setup
```kotlin
// build.gradle.ktsbuildscript {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://jitpack.io")
}
}plugins {
// id("dev.adamko.zally")
id("com.github.adamko-dev.zally-gradle-plugin") version "main-SNAPSHOT"
}zally {
openApiSpec.set(
layout.projectDirectory.file("src/main/resources/openapi.yml")
)
}
```Run: `./gradlew zally`