Created
September 16, 2024 16:53
-
-
Save Arithmomaniac/150cf23eb89141c92d3663cd49d080b1 to your computer and use it in GitHub Desktop.
tsp-openapi3: common parameters not imported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: (title) | |
version: 0.0.0 | |
tags: [] | |
paths: | |
/widgets/{id}: | |
get: | |
operationId: Widgets_read | |
responses: | |
'200': | |
description: The request has succeeded. | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Widget' | |
delete: | |
operationId: Widgets_delete | |
responses: | |
'204': | |
description: 'There is no content to send for this request, but the headers may be useful. ' | |
parameters: | |
- name: id | |
in: path | |
required: true | |
schema: | |
type: string | |
components: | |
schemas: | |
Widget: | |
type: object | |
required: | |
- id | |
properties: | |
id: | |
type: string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: (title) | |
version: 0.0.0 | |
tags: [] | |
paths: | |
/widgets/{id}: | |
get: | |
operationId: Widgets_read | |
parameters: | |
- name: id | |
in: path | |
required: true | |
schema: | |
type: string | |
responses: | |
'200': | |
description: The request has succeeded. | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Widget' | |
delete: | |
operationId: Widgets_delete | |
parameters: | |
- name: id | |
in: path | |
required: true | |
schema: | |
type: string | |
responses: | |
'204': | |
description: 'There is no content to send for this request, but the headers may be useful. ' | |
components: | |
schemas: | |
Widget: | |
type: object | |
required: | |
- id | |
properties: | |
id: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment