Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there official Typescript type definitions for OpenAPI 3?

I've found https://github.com/metadevpro/openapi3-ts/blob/master/src/model/OpenApi.ts which is a version of Typescript definitions for OpenAPI 3.x, but I'm failing to find an official (aka DefinitelyTyped) type definition file for OAS 3.

Is there one?

TIA

like image 870
John Kaster Avatar asked Sep 11 '18 19:09

John Kaster


1 Answers

There's a lib openapi-types, which is from openAPI, it official enough for me. lib https://www.npmjs.com/package/openapi-types

like image 158
Yang Avatar answered Oct 28 '22 22:10

Yang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!