docs_api
OpenAPI/Swagger API documentation ve endpoint belgeleme şablonları.
npxskills add vuralserhat86/antigravity-agentic-skills--skill docs_apiLoading…
OpenAPI/Swagger API documentation ve endpoint belgeleme şablonları.
npxskills add vuralserhat86/antigravity-agentic-skills--skill docs_apiLoading…
API documentation ve OpenAPI best practices.
openapi: 3.0.3
info:
title: User API
version: 1.0.0
paths:
/users:
get:
summary: List users
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/User'
components:
schemas:
User:
type: object
properties:
id: { type: string }
email: { type: string, format: email }
## Create User
`POST /api/v1/users`
### Request
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| email | string | Yes | Valid email |
| password | string | Yes | Min 8 chars |
### Response (201)
{ "success": true, "data": { "id": "...", "email": "..." } }
### Error (400)
{ "success": false, "error": { "code": "VALIDATION_ERROR" } }
Docs API v1.1 - Enhanced
Kaynak: Redocly OpenAPI Workflow & API Handyman
prism veya stoplight ile API'yi kodlamadan önce mockla.spectral ile standartlara (CamelCase, Descriptions vb.) göre denetle.$ref kullanarak bileşenlere böl (components/schemas/User.yaml).redoc-cli bundle veya swagger-cli ile statik HTML oluştur.| Aşama | Doğrulama |
|---|---|
| 1 | spectral lint openapi.yaml hatasız geçiyor mu? |
| 2 | Oluşturulan dokümantasyonda "Try it out" çalışıyor mu? |
| 3 | Tüm zorunlu alanlar (required) şemada işaretli mi? |
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).