modelscope.cn

openapi

OpenAPI/Swagger specification, code generation, documentation, and validation.

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Write, Edit, Bash, Glob, Grep

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,473 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

OpenAPI Skill

Expert assistance for creating OpenAPI specifications and API documentation.

Capabilities

  • Write OpenAPI 3.x specifications
  • Generate client/server code
  • Create interactive documentation
  • Validate API contracts
  • Design request/response schemas

Usage

Invoke this skill when you need to:

  • Document REST APIs
  • Generate API clients
  • Validate API contracts
  • Create interactive docs

Specification Pattern

openapi: 3.0.3
info:
  title: Users API
  version: 1.0.0

paths:
  /users:
    get:
      summary: List users
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            default: 1
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserList'

components:
  schemas:
    User:
      type: object
      required: [id, name, email]
      properties:
        id:
          type: string
        name:
          type: string
        email:
          type: string
          format: email

Best Practices

  • Use $ref for reusable schemas
  • Document all responses
  • Include examples
  • Version your specs

Target Processes

  • api-documentation
  • api-design
  • client-generation