Skip to content

Commit 1d77105

Browse files
committed
Add Ollama OpenAPI specification
1 parent 7c2fa1c commit 1d77105

File tree

2 files changed

+961
-0
lines changed

2 files changed

+961
-0
lines changed

.github/workflows/tests.yml

+11
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,14 @@ jobs:
8282
COMPOSER_FLAGS: ${{ matrix.flags }}
8383
- name: Run PHPUnit
8484
run: vendor/bin/phpunit
85+
86+
openapi:
87+
name: Validate OpenAPI specification
88+
runs-on: ubuntu-latest
89+
steps:
90+
- name: Checkout
91+
uses: actions/checkout@v4
92+
- uses: swaggerexpert/apidom-validate@v1
93+
with:
94+
definition-file: docs/ollama.yaml
95+
fails-on: 1 # Fails if error messages exist in validation output

0 commit comments

Comments
 (0)