Skip to content

Instantly share code, notes, and snippets.

@mhmd-azeez
Created March 6, 2025 16:30
Show Gist options
  • Select an option

  • Save mhmd-azeez/47de53e1912d2905a414d39a3cb7e958 to your computer and use it in GitHub Desktop.

Select an option

Save mhmd-azeez/47de53e1912d2905a414d39a3cb7e958 to your computer and use it in GitHub Desktop.
{
"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