mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-23 17:00:41 +00:00

* Add docstrings to the REST API endpoint to have them included in the OpenAPI specs * Attempt at make GitHub CI generate the OpenAPI specs * Missing __init__.py was breaking rest_api import * Add comment on dummy pipeline * Create separate workflow file for the OpenAPI specs generation Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Markus Paff <markuspaff.mp@gmail.com>
17 lines
307 B
YAML
17 lines
307 B
YAML
# Dummy pipeline, used when the CI needs to load the REST API to
|
|
# extract the OpenAPI specs. DO NOT USE.
|
|
|
|
version: '0.9'
|
|
|
|
components:
|
|
- name: FileTypeClassifier
|
|
type: FileTypeClassifier
|
|
|
|
pipelines:
|
|
- name: query
|
|
type: Query
|
|
nodes:
|
|
- name: FileTypeClassifier
|
|
inputs: [File]
|
|
|