← 返回
未分类

Skylv Rest Api Generator

Generates OpenAPI 3.0 specs from code. Creates API documentation for REST endpoints. Triggers: openapi spec, generate api doc, swagger.
sky-lv
未分类 clawhub v1.0.0 100000 Key: 无需
★ 0
Stars
📥 293
下载
💾 1
安装

概述

OpenAPI Generator

Overview

Creates OpenAPI 3.0 specifications for REST APIs.

When to Use

  • User asks to "generate API documentation"
  • Documenting new API endpoints

Template Structure

openapi: 3.0.0

info:

title: My API

version: 1.0.0

paths:

/users:

get:

summary: List users

parameters:

  • name: page

in: query

schema: { type: integer }

responses:

200:

description: Success

Tips

  • Always specify response schemas
  • Use $ref to avoid duplication
  • Group endpoints with tags
  • Add examples for request/response bodies

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 02:46 安全 安全

安全检测

暂无安全检测报告