Files
varsity/test/sample-openapi.yaml
Luke Hagar c4a250359f Enhance .gitignore, update dependencies, and improve CLI functionality
- Expanded .gitignore to include additional build outputs, environment files, and IDE configurations.
- Updated bun.lock to include new dependencies: js-yaml and its types.
- Refactored index.ts to export new validation functions and types for better modularity.
- Updated package.json to reflect version bump to 1.0.3, added repository and homepage information, and improved script commands.
- Enhanced README.md with clearer usage instructions and examples for library and CLI usage.
- Improved CLI commands for validation, parsing, and reporting, including support for multiple sources and detailed output options.
- Added logging functionality throughout the codebase for better debugging and user feedback.
- Implemented recursive validation and reference analysis features for comprehensive OpenAPI specification validation.
2025-10-01 22:56:10 +00:00

46 lines
1.1 KiB
YAML

openapi: 3.0.3
info:
title: Sample API
version: 1.0.0
description: A sample OpenAPI specification for testing
servers:
- url: https://api.example.com/v1
paths:
/users:
get:
summary: Get all users
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: integer
name:
type: string
/products:
get:
summary: Get all products
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: integer
name:
type: string
price:
type: number
format: float