Skip to content

Commit f95bc3c

Browse files
committed
Add Ollama OpenAPI specification
1 parent 040ed08 commit f95bc3c

File tree

2 files changed

+961
-0
lines changed

2 files changed

+961
-0
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 0 deletions
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: OpenAPI Validation
88+
runs-on: ubuntu-latest
89+
steps:
90+
- name: Checkout
91+
uses: actions/checkout@v2
92+
- name: Validate OpenAPI definition
93+
uses: swaggerexpert/swagger-editor-validate@v1
94+
with:
95+
definition-file: docs/ollama.yaml

0 commit comments

Comments
 (0)