-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add convenience method for linting (#53)
[Spectral](https://stoplight.io/open-source/spectral) is an open-source API style guide enforcer and linter. This adds a convenience method for linting in Julia using spectral. ```julia OpenAPI.lint( spec::AbstractString; # the OpenAPI specification to use use_sudo::Bool=false # whether to use sudo while invoking docker ) OpenAPI.lint( spec_dir::AbstractString; # folder containing the specification file spec_file::AbstractString; # the specification file use_sudo::Bool=false # whether to use sudo while invoking docker ) ```
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71febea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
71febea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/89179
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: