Created
March 6, 2025 16:30
-
-
Save mhmd-azeez/47de53e1912d2905a414d39a3cb7e958 to your computer and use it in GitHub Desktop.
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": "Some cool mintlify customer", | |
| "version": "1.0.0", | |
| "description": "This is a test API for the Mintlify integration" | |
| }, | |
| "servers": [ | |
| { | |
| "url": "https://api.example.com" | |
| } | |
| ], | |
| "paths": { | |
| "/users": { | |
| "get": { | |
| "summary": "List all users", | |
| "operationId": "listUsers", | |
| "responses": { | |
| "200": { | |
| "description": "A list of users", | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/User" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "components": { | |
| "schemas": { | |
| "User": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "integer" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "email": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment