Skip to content

Commit

Permalink
fixing validate spec ci
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Aug 22, 2024
1 parent 1952fd1 commit a14c83b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Run Tests
run: |
npm run test:spec -- \
--opensearch-insecure \
--opensearch-insecure --verbose \
--opensearch-version=${{ matrix.entry.version }} \
--coverage coverage/test-spec-coverage-${{ matrix.entry.version }}-${{ matrix.entry.tests || 'default' }}.json \
--tests=tests/${{ matrix.entry.tests || 'default' }}
Expand Down
44 changes: 23 additions & 21 deletions spec/schemas/asynchronous_search._common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,7 @@ components:
type: object
properties:
asynchronous_search_stats:
type: object
properties:
submitted:
type: integer
initialized:
type: integer
search_failed:
type: integer
search_completed:
type: integer
rejected:
type: integer
persist_failed:
type: integer
cancelled:
type: integer
running_current:
type: integer
persisted:
type: integer
$ref: '#/components/schemas/AsynchronousSearchStats'
Search:
type: object
properties:
Expand Down Expand Up @@ -183,4 +164,25 @@ components:
type: array
items:
type: string
description: The search definition using the Query DSL.
description: The search definition using the Query DSL.
AsynchronousSearchStats:
type: object
properties:
submitted:
type: integer
initialized:
type: integer
search_failed:
type: integer
search_completed:
type: integer
rejected:
type: integer
persist_failed:
type: integer
cancelled:
type: integer
running_current:
type: integer
persisted:
type: integer

0 comments on commit a14c83b

Please sign in to comment.