This package has been deprecated

Author message:

Package name was changed to @neluzhin/specificator, so this package is deprecated and will no longer be supported.

specificator
TypeScript icon, indicating that this package has built-in type declarations

0.9.1 • Public • Published

Specificator

NPM downloads Renovate enabled

Achtung! This library is in early development state so it's unstable. It works now, but there are no guarantees for API stability (it may change during development). We are testing this library inside our projects and adopting some features to make it feel better. Please wait for version 1.0 and don't use it inside real projects.

Specificator is a framework (you may call it collection of DTOs) designed to help you write OpenAPI 3 documentation using TypeScript and its strict type system.

All of us know it's hard to support OpenAPI 3 documentation. People use different ways to write it: Jsonnet, Go templates, JSON Pointers inside plain JSON/YAML files and many other exotic ways. Sometimes our docs become huge and hard to support; weak tools are risky for developers and they are vulnerable to mistakes. Some tools say nothing when you do something wrong: for example you may not notice a typo in a property name and your documentation may become invalid for visualization tools such as ReDoc and Swagger UI. That's because most of solutions are weak DSLs not designed for that purpose. We suggest that you stop using these solutions and start using strict frameworks such as Specificator.

Documentation

For installation instructions, usage docs and examples please visit docs/README.md file.

Related projects & packages

To find community projects related to Specificator browse specificator keyword in npm registry or specificator topic in GitHub.

Serializers

Serializers should be used if you need to serialize OpenAPI objects to plain JavaScript objects.

Official implementations:

To find community implementations browse specificator-serializer keyword in npm registry or specificator-serializer topic in GitHub.

Specification extensions

Specification extensions packages may provide additional OpenAPI objects related to specific vendors (such as ReDoc).

To find community implementations browse specificator-specification-extension keyword in npm registry or specificator-specification-extension topic in GitHub.

Readme

Keywords

Package Sidebar

Install

npm i specificator

Weekly Downloads

1

Version

0.9.1

License

MIT

Unpacked Size

220 kB

Total Files

162

Last publish

Collaborators

  • flaksp