CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-openapi-types

TypeScript type definitions for OpenAPI documents across all specification versions.

83

0.92x
Overview
Eval results
Files

Evaluation results

40%

-60%

API Schema Migrator

Version Migration Utilities

Criteria
Without context
With context

Modify Utility Usage

100%

0%

Type Definition Structure

100%

40%

Migration Function Implementation

100%

100%

Type Safety Enforcement

100%

66%

86%

3%

OpenAPI Operation Analyzer

OpenAPI 3.0 Request/Response Types

Criteria
Without context
With context

Import OpenAPIV3 types

100%

100%

Type ParameterObject

100%

100%

Type RequestBodyObject

100%

90%

Type ResponseObject

100%

100%

Type MediaTypeObject

0%

53%

Type ReferenceObject handling

100%

100%

Type OperationObject

60%

0%

90%

10%

OpenAPI Document Analyzer

Version-Agnostic Union Types

Criteria
Without context
With context

OpenAPI.Document usage

33%

83%

Version detection

100%

100%

Operation counting

100%

100%

Parameter counting

100%

80%

75%

-15%

API Parameter Validator

Parameter Styles and Serialization

Criteria
Without context
With context

Import ParameterObject type

100%

0%

Access style property

100%

100%

Access in property

100%

100%

Validate location-style combinations

100%

100%

Access explode property

0%

0%

Access allowReserved property

100%

100%

76%

21%

Schema Validator

JSON Schema Base Types

Criteria
Without context
With context

IJsonSchema Import

0%

100%

Type Annotations

0%

24%

Schema Properties Access

50%

100%

Validation Constraints

100%

75%

Properties Navigation

100%

100%

Type Field Handling

100%

100%

94%

-2%

OpenAPI Documentation Generator

Metadata and Documentation Types

Criteria
Without context
With context

InfoObject usage

100%

100%

ContactObject integration

86%

80%

LicenseObject integration

86%

80%

ServerObject usage

100%

100%

ExternalDocumentationObject usage

100%

100%

TagObject usage

100%

100%

100%

Security Requirements Validator

Security Requirement Combinations

Criteria
Without context
With context

OpenAPIV3.Document type usage

100%

100%

SecurityRequirementObject type usage

100%

100%

Document-level security access

100%

100%

Operation-level security access

100%

100%

Paths and operations navigation

100%

100%

SecurityRequirementObject structure

100%

100%

Security array semantics

100%

100%

88%

-7%

API Security Validator

OpenAPI 3.0 Security Types

Criteria
Without context
With context

OpenAPIV3.Document type usage

100%

100%

SecuritySchemeObject type usage

80%

80%

SecurityRequirementObject type usage

100%

100%

OperationObject type usage

100%

100%

Type-safe security scheme access

100%

53%

ComponentsObject usage

100%

100%

100%

Security Scheme Analyzer

Legacy OpenAPI 2.0 Security Schemes

Criteria
Without context
With context

OpenAPIV2 Import

100%

100%

SecuritySchemeObject Typing

100%

100%

Basic Auth Type

100%

100%

API Key Type

100%

100%

OAuth2 Type

100%

100%

Security Requirement

100%

100%

80%

-20%

OpenAPI Schema XML Transformer

XML Serialization Metadata

Criteria
Without context
With context

Import OpenAPIV3 types

100%

100%

Use OpenAPIV3.SchemaObject

100%

100%

Use OpenAPIV3.XMLObject

100%

0%

Set xml.name property

100%

100%

Set xml.namespace property

100%

100%

Set xml.prefix property

100%

100%

Set xml.attribute property

100%

100%

Set xml.wrapped property

100%

100%

Validate XMLObject structure

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-openapi-types
Evaluated
Agent
Claude Code

Table of Contents