LogoClawIndex
CasesSkillsAbout
LogoClawIndex

swagger-ai-optimization - Optimize Swagger/OpenAPI for AI Agents

Optimizes Spring Boot and springdoc Swagger/OpenAPI specifications for AI Agent API selection, invocation, schema understanding, and validation.

Tags

Updated: 2026-11-28
workflowSwaggerOpenAPIoptimizationAI agents

Capabilities

Extract before and after specsMeasure specification token usageAdd operation IDs and annotationsEnrich DTO schemas

Typical Inputs

Spring Boot source projectapplication.ymlController and DTO source files

Typical Outputs

Before and after OpenAPI JSON filesUpdated controller and DTO annotationsAI test prompts and result reports

What this skill does

  • Extract before and after specs
  • Measure specification token usage
  • Add operation IDs and annotations
  • Enrich DTO schemas
  • Add filterable field metadata
  • Structure response and error schemas
  • Validate AI understanding
  • Generate reports and delivery files
  • Verify Gradle or Maven builds

Inputs

  • Spring Boot source project
  • application.yml
  • Controller and DTO source files
  • Lucida UI column definitions
  • Korean message properties
  • Code ownership approval
  • Build configuration

Outputs

  • Before and after OpenAPI JSON files
  • Updated controller and DTO annotations
  • AI test prompts and result reports
  • Marp report and PPTX file
  • Filterable-fields mapping JSON
  • Token measurement and pruning scripts
  • OpenAPI quality-gate workflow
  • Spectral configuration
  • Build verification result

Requirements

  • Spring Boot 3.x
  • springdoc-openapi
  • Gradle or Maven build
  • Access to project source files
  • Permission to modify annotations
  • tiktoken for accurate token measurement

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.