Skip to content

Commit

Permalink
update some apis, comment the others
Browse files Browse the repository at this point in the history
  • Loading branch information
wkarwacki committed Aug 17, 2024
1 parent d4d528e commit 6839a9c
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 66 deletions.
Empty file.
12 changes: 0 additions & 12 deletions test/integration/gens/python/client/src/app/main.py

This file was deleted.

34 changes: 17 additions & 17 deletions test/integration/specs/openapi/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}:
Expand All @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion test/integration/specs/openapi/elephant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ paths:
type: array
items:
$ref: "#/components/schemas/ElephantSummary"
/elephants/configs:
/elephants-configs:
post:
tags:
- elephant-config
Expand Down
70 changes: 35 additions & 35 deletions test/integration/specs/openapi/ibis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
29 changes: 28 additions & 1 deletion test/integration/specs/openapi_fastapi/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -58,7 +85,7 @@ paths:
/flaming/{flaming_id}/distribution:
get:
tags:
- flaming-ibis
- flaming
summary: Get Flaming Distribution
operationId: getFlamingDistribution
parameters:
Expand Down

0 comments on commit 6839a9c

Please sign in to comment.