/swagger.d.ts

Swagger Type Interface For TypeScript – Use @types/swagger-schema-official

Primary LanguageTypeScript

swagger.d.ts

Build Status

Swagger Type Interface For TypeScript

Usage

Installation

Install with npm

npm install --save @types/swagger-schema-official

And use the module 'swagger-schema-official'

import * as Swagger from 'swagger-schema-official';

var mySwaggerSpec: Swagger.Spec = { /*... */ };

Development

This module is moved to DefinitelyTyped. Add your bug fixes and improvements there.

Running tests

Install Node.js and run:

npm test

License

MIT