Last active
March 4, 2024 01:38
-
-
Save iammateus/3a484de234e6cc1be7607c58686ba629 to your computer and use it in GitHub Desktop.
open-api.text.yaml
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: Mateus API | |
description: A simple API with one route | |
version: 1.0.0 | |
paths: | |
/hello: | |
get: | |
summary: Get a friendly greeting | |
description: Returns a simple greeting message | |
responses: | |
'200': | |
description: Successful response | |
content: | |
application/json: | |
example: { "message": "Hello, world!" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment