Skip to content

Drop our openapi-spec packages, use openapi3-ts instead #301

Closed
@bajtos

Description

@bajtos

https://github.com/metadevpro/openapi3-ts looks more feature complete than our own openapi packages. Should we use openapi3-ts instead?

If we want to support both Swagger v2 and OpenAPI v3 then we probably cannot drop our packages, unless there is a replacement available.

UPDATE:

Looks like we have already dropped most of our custom type definitions. As of today (0411811aa), openapi-v3-spec-types provides only few helpers:

  • OpenApiSpec as an alias for OpenAPIObject
  • createEmptyApiSpec()
  • isSchemaObject() and isReferenceObject() (type guards)

Acceptance criteria

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions