Created
August 20, 2024 10:31
-
-
Save Phylosius/7b08873924fa420df96e31e718a0464e to your computer and use it in GitHub Desktop.
OAS for API-TD1
This file contains 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: STD23022 - TD1 | |
version: 1.0.0 | |
servers: | |
- url: https://localhost.std23022.com | |
paths: | |
/customers: | |
get: | |
responses: | |
'200': | |
description: A list of customers | |
content: | |
application/json: | |
schema: | |
type: array | |
items: | |
$ref: '#/components/schemas/Customer' | |
components: | |
schemas: | |
Customer: | |
type: object | |
properties: | |
name: | |
type: string | |
age: | |
type: integer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment