diff --git a/test/integration/gens/python/client/src/app/__init__.py b/test/integration/gens/python/client/src/app/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/test/integration/gens/python/client/src/app/main.py b/test/integration/gens/python/client/src/app/main.py deleted file mode 100644 index 24ce151..0000000 --- a/test/integration/gens/python/client/src/app/main.py +++ /dev/null @@ -1,12 +0,0 @@ -from trust.dev.service import DevService -from trust.test.service import TestService - -from trust.test.test_preview_request import TestPreviewRequestDto -from trust.test.test_preview_response import TestPreviewResponseDto - -dev_service = DevService() - -print(dev_service.get_health()) - -test_service = TestService() -assert test_service.get_test_preview(TestPreviewRequestDto.get(), "test_id") == TestPreviewResponseDto.get() diff --git a/test/integration/specs/openapi/api.yml b/test/integration/specs/openapi/api.yml index 1167c99..7ddec5b 100644 --- a/test/integration/specs/openapi/api.yml +++ b/test/integration/specs/openapi/api.yml @@ -22,14 +22,14 @@ paths: $ref: 'ibis.yml#/paths/~1elephant~1%7Belephant_id%7D~1lift' /elephant/{elephant_id}/confusion-hattrick: $ref: 'ibis.yml#/paths/~1elephant~1%7Belephant_id%7D~1confusion-hattrick' - /elephant/{elephant_id}/scatter-plot: - $ref: 'ibis.yml#/paths/~1elephant~1%7Belephant_id%7D~1scatter-plot' +# /elephant/{elephant_id}/scatter-plot: +# $ref: 'ibis.yml#/paths/~1elephant~1%7Belephant_id%7D~1scatter-plot' /elephant/{elephant_id}/turbulence-series-chart: $ref: 'ibis.yml#/paths/~1elephant~1%7Belephant_id%7D~1turbulence-series-chart' /elephants: $ref: 'elephant.yml#/paths/~1elephants' - /elephants/configs: - $ref: 'elephant.yml#/paths/~1elephants~1configs' + /elephants-configs: + $ref: 'elephant.yml#/paths/~1elephants-configs' /elephants/configs/{elephantConfigId}: $ref: 'elephant.yml#/paths/~1elephants~1configs~1{elephantConfigId}' /elephants/{elephantId}: @@ -54,19 +54,19 @@ paths: $ref: 'log.yml#/paths/~1predators~1{predatorId}~1logs' /predators/{predatorId}/results: $ref: 'predator.yml#/paths/~1predators~1{predatorId}~1results' - /sse: - get: - tags: - - sse - operationId: subscribeToSse - responses: - 200: - description: ok - content: - text/event-stream: - schema: - $ref: '#/components/schemas/ServerEvent' - x-dotdata-sse: true +# /sse: +# get: +# tags: +# - sse +# operationId: subscribeToSse +# responses: +# 200: +# description: ok +# content: +# text/event-stream: +# schema: +# $ref: '#/components/schemas/ServerEvent' +# x-dotdata-sse: true "/transformers": $ref: 'transformer.yml#/paths/~1transformers' "/transformers/{transformerId}/cacatoos": diff --git a/test/integration/specs/openapi/elephant.yml b/test/integration/specs/openapi/elephant.yml index d8c147d..c0a0de6 100644 --- a/test/integration/specs/openapi/elephant.yml +++ b/test/integration/specs/openapi/elephant.yml @@ -13,7 +13,7 @@ paths: type: array items: $ref: "#/components/schemas/ElephantSummary" - /elephants/configs: + /elephants-configs: post: tags: - elephant-config diff --git a/test/integration/specs/openapi/ibis.yml b/test/integration/specs/openapi/ibis.yml index 01cda89..8c6daec 100644 --- a/test/integration/specs/openapi/ibis.yml +++ b/test/integration/specs/openapi/ibis.yml @@ -53,41 +53,41 @@ paths: const: - private - immutransformer - /elephant/{elephantId}/scatter-plot: - get: - tags: - - ibis - summary: Get Scatterplot - operationId: getScatterPlot - parameters: - - name: elephantId - in: path - required: true - schema: - type: string - title: Elephant Id - - name: limit - in: query - required: false - schema: - type: integer - default: 100000 - title: Limit - responses: - '200': - description: Successful Response - content: - text/csv: - schema: - type: string - format: binary - headers: - Cache-Control: - schema: - type: string - const: - - private - - immutransformer +# /elephant/{elephantId}/scatter-plot: +# get: +# tags: +# - ibis +# summary: Get Scatterplot +# operationId: getScatterPlot +# parameters: +# - name: elephantId +# in: path +# required: true +# schema: +# type: string +# title: Elephant Id +# - name: limit +# in: query +# required: false +# schema: +# type: integer +# default: 100000 +# title: Limit +# responses: +# '200': +# description: Successful Response +# content: +# text/csv: +# schema: +# type: string +# format: binary +# headers: +# Cache-Control: +# schema: +# type: string +# const: +# - private +# - immutransformer /elephant/{elephantId}/turbulence-series-chart: get: tags: diff --git a/test/integration/specs/openapi_fastapi/api.yml b/test/integration/specs/openapi_fastapi/api.yml index f184f7d..6223a84 100644 --- a/test/integration/specs/openapi_fastapi/api.yml +++ b/test/integration/specs/openapi_fastapi/api.yml @@ -46,6 +46,33 @@ paths: type: array items: $ref: "#/components/schemas/ElephantSummary" + /external-module: + get: + tags: + - external-module + summary: Get external module + operationId: getExternalModule + responses: + '204': + description: Successful Response + /log: + get: + tags: + - log + summary: Get log + operationId: getLog + responses: + '204': + description: Successful Response + /masterpiece: + get: + tags: + - masterpiece + summary: Get masterpiece + operationId: getMasterpiece + responses: + '204': + description: Successful Response /health: get: tags: @@ -58,7 +85,7 @@ paths: /flaming/{flaming_id}/distribution: get: tags: - - flaming-ibis + - flaming summary: Get Flaming Distribution operationId: getFlamingDistribution parameters: