1.0.1 • Published 8 months ago
@educove/api-spec v1.0.1
@educove/api-spec
OpenAPI specification for the EduCove API. This package provides the complete OpenAPI specification for integrating with EduCove's school management platform.
Installation
npm install @educove/api-spec
Usage
import apiSpec from '@educove/api-spec';
// Access the full specification
console.log(apiSpec);
// Access specific parts
import { paths, components } from '@educove/api-spec';
// Access paths
console.log(paths['/auth/login']);
// Access components
console.log(components.schemas.User);
TypeScript Support
This package includes TypeScript type definitions. You can import types like this:
import type { OpenAPISpec, Paths, Components } from '@educove/api-spec';
Documentation
The complete API documentation is available at docs.educove.com.
License
MIT