Skip to content

Commit

Permalink
fix: use overloads
Browse files Browse the repository at this point in the history
  • Loading branch information
mnahkies committed Dec 6, 2024
1 parent 3b4b852 commit 3a3a919
Show file tree
Hide file tree
Showing 35 changed files with 1,404 additions and 340 deletions.
44 changes: 44 additions & 0 deletions integration-tests-definitions/todo-lists.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ openapi: "3.0.0"
info:
title: Todo Lists Example API
version: '0.0.1'
servers:
- url: '{schema}://{tenant}.todo-lists.example.com'
variables:
schema:
enum:
- http
- https
default: https
tenant:
default: your-slug
- url: 'https://todo-lists.example.com'
paths:
/list:
parameters:
Expand Down Expand Up @@ -146,6 +157,39 @@ paths:
responses:
204:
description: success
/attachments:
servers:
- url: '{schema}://{tenant}.attachments.example.com'
variables:
schema:
enum:
- http
- https
default: https
tenant:
default: your-slug
- url: 'https://attachments.example.com'
get:
operationId: listAttachments
responses:
200:
description: success
content:
application/json:
schema:
type: array
post:
operationId: uploadAttachment
requestBody:
content:
multipart/form-data:
schema:
additionalProperties: false
properties:
file: {}
responses:
202:
description: accepted
components:
schemas:
CreateUpdateTodoList:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3a3a919

Please sign in to comment.