Skip to content

Instantly share code, notes, and snippets.

View boilsquid's full-sized avatar

Eoin Boylan boilsquid

View GitHub Profile
@ashgansh
ashgansh / basel.js
Created August 10, 2023 00:40
Auto-generate OpenAPI spec w/ Anthropic Claude from any programming language
const Anthropic = require('@anthropic-ai/sdk');
const path = require('path');
const YAML = require('yaml');
const fs = require('fs');
// Initialize Anthropic SDK
const anthropic = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY,
});