A web-based GUI editor for creating and modifying OpenAPI (Swagger) specifications in YAML format. This tool provides both a form-based interface and direct YAML editing capabilities.
- Dual View Modes
- Form View: User-friendly interface for editing OpenAPI specifications
- YAML View: Direct YAML editing with syntax highlighting
- Real-time Preview
- Side-by-side JSON preview
- Instant validation and error feedback
- Component Editing
- API Information management
- Server configuration
- Schema definitions with property management
- Path operations (GET, POST, PUT, DELETE, PATCH)
- Request/Response configuration
- Node.js (v16 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/perryraskin/openapi-yaml-editor
cd openapi-editor- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:8080
- Click the "Form View" button in the top navigation
- Edit your OpenAPI specification using the intuitive form interface:
- Modify API information (title, description, version)
- Configure servers
- Define schemas and properties
- Create and edit API paths and operations
- Click the "YAML View" button in the top navigation
- Edit your OpenAPI specification directly in YAML format
- See real-time JSON preview on the right
- React with TypeScript
- Vite
- Monaco Editor for YAML editing
- shadcn/ui components
- Tailwind CSS
- js-yaml for YAML parsing
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.