@dadata-sdk/api-spec
v0.1.0
Published
Bundled OpenAPI and JSON Schema artifacts for the DaData API.
Maintainers
Readme
@dadata-sdk/api-spec
Bundled OpenAPI and JSON Schema artifacts for the DaData API.
This package is intended for projects that want the generated OpenAPI/JSON Schema outputs directly, without pulling in the Vue component or the TypeScript contract package.
Install
npm install @dadata-sdk/api-specpnpm add @dadata-sdk/api-specIncluded Files
dadata.json- bundled OpenAPI document used by this monoreposchemas/request.json- generated request JSON Schema bundleschemas/response.json- generated response JSON Schema bundle
Usage
import requestSchema from '@dadata-sdk/api-spec/schemas/request.json' with { type: 'json' };
import responseSchema from '@dadata-sdk/api-spec/schemas/response.json' with { type: 'json' };Documentation
- Spec docs: https://alexchexes.github.io/dadata-sdk/en/spec
- Repository: https://github.com/alexchexes/dadata-sdk/tree/rewritten/packages/api-spec
License
MIT
