Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

An Emacs Flycheck checker for Swagger files that uses swagger-tools.

License

Notifications You must be signed in to change notification settings

magoyette/flycheck-swagger-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

flycheck-swagger-tools

An Emacs Flycheck checker for Swagger YAML and JSON files that uses swagger-tools.

This repository is archived. The development of swagger-tools appears interrupted.

flycheck-swagger-cli can be used instead. swagger-cli supports both OpenAPI 2 and 3.

Configuration

swagger-tools must be installed.

npm install -g swagger-tools

The checker can be activating by requiring this package.

(require 'flycheck-swagger-tools)

By default, only the first 4000 characters of a file are scanned to find the swagger 2.0 element. To avoid stack overflow in Emacs multi-line regex, this limit is necessary. The defcustom swagger-tools-predicate-regexp-match-limit can be used to change the limit. That could be necessary for YAML files with long initial comments.

About

An Emacs Flycheck checker for Swagger files that uses swagger-tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published