Skip to content

Commit

Permalink
ignore some of the integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wkarwacki committed Aug 15, 2024
1 parent cb591b8 commit d4d528e
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 82 deletions.
26 changes: 12 additions & 14 deletions test/integration/specs/openapi/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ paths:
$ref: 'test.yml#/paths/~1tests~1{testId}~1preview'
"/transformers/{transformerId}/preview":
$ref: 'transformer.yml#/paths/~1transformers~1{transformerId}~1preview'
"/transformers/files":
$ref: 'transformer.yml#/paths/~1transformers~1files'
# "/transformers/files":
# $ref: 'transformer.yml#/paths/~1transformers~1files'
components:
schemas:
Duration:
Expand All @@ -89,7 +89,16 @@ components:
format: int64
minimum: 1
unit:
$ref: '#/components/schemas/TurbulenceUnit'
type: string
enum:
- millisecond
- second
- minute
- hour
- day
- week
- month
- year
required:
- value
- unit
Expand All @@ -103,14 +112,3 @@ components:
enum:
- asc
- desc
TurbulenceUnit:
type: string
enum:
- millisecond
- second
- minute
- hour
- day
- week
- month
- year
3 changes: 0 additions & 3 deletions test/integration/specs/openapi/predator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,12 @@ components:
properties:
id:
$ref: '#/components/schemas/PredatorId'
name:
type: string
masterpieceName:
type: string
targetTransformerName:
type: string
required:
- id
- name
- masterpieceName
- targetTransformerName
RunPredatorRequest:
Expand Down
80 changes: 40 additions & 40 deletions test/integration/specs/openapi/transformer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,46 +92,46 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/TransformerPreviewResponse"
"/transformers/files":
post:
tags:
- transformer
operationId: uploadTransformerAsFile
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
id:
$ref: '#/components/schemas/TransformerId'
file:
type: string
format: binary
transformerName:
type: string
cacatoos:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
required:
- file
required: true
responses:
200:
description: ok
content:
application/json:
schema:
$ref: '#/components/schemas/TransformerId'
# "/transformers/files":
# post:
# tags:
# - transformer
# operationId: uploadTransformerAsFile
# requestBody:
# content:
# multipart/form-data:
# schema:
# type: object
# properties:
# id:
# $ref: '#/components/schemas/TransformerId'
# file:
# type: string
# format: binary
# transformerName:
# type: string
# cacatoos:
# type: array
# items:
# type: object
# properties:
# id:
# type: string
# name:
# type: string
# required:
# - id
# - name
# required:
# - file
# required: true
# responses:
# 200:
# description: ok
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/TransformerId'
components:
schemas:
CacatooId:
Expand Down
50 changes: 25 additions & 25 deletions test/integration/specs/openapi_fastapi/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,31 +282,31 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/transformer/file:
post:
tags:
- transformer
summary: Uploadtransformerasfile
operationId: uploadTransformerAsFile
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_uploadTransformerAsFile'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
# /transformer/file:
# post:
# tags:
# - transformer
# summary: Uploadtransformerasfile
# operationId: uploadTransformerAsFile
# requestBody:
# content:
# multipart/form-data:
# schema:
# $ref: '#/components/schemas/Body_uploadTransformerAsFile'
# required: true
# responses:
# '200':
# description: Successful Response
# content:
# application/json:
# schema:
# type: string
# '422':
# description: Validation Error
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/HTTPValidationError'
/transformer:
get:
tags:
Expand Down

0 comments on commit d4d528e

Please sign in to comment.