Online Yaml Validator

Posted onby
Online Yaml Validator Rating: 9,4/10 7654 reviews

YAML Validator Validate YAML code using Online YAML Validator and find errors to fix and verify your code. The Validate YAML online also called as YAML Lint tool was created to help with debugging, find errors and warnings in the YAML files. This tool allows you to solve the problem by validate YAML data so that it is easy to debug. Validator for bitbucket-pipelines.yml. Copy and paste your bitbucket-pipelines.yml configuration below to validate it. Diffchecker is an online diff tool to compare text to find the difference between two text files. HTML Validator / Linter. Validates HTML files for compliance against the W3C standards and performs linting to assess code quality against best practices. Find missing or unbalanced HTML tags in your documents, stray characters, duplicate IDs, missing or invalid attributes and other recommendations.

Online yaml validator softwareLatest version

Released:

OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0.0 spec validator

Project description

About

OpenAPI Spec Validator is a Python library that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0.0 specification. The validator aims to check for full compliance with the Specification.

Installation

Usage

Command Line Interface

Straight forward way:

pipes way:

docker way:

or more pythonic way:

Examples

Validate spec:

Add spec_url to validate spec with relative files:

You can also validate spec from url:

If you want to iterate through validation errors:

Related projects

  • openapi-core is a Python library that adds client-side and server-side support for the OpenAPI.

License

Copyright (c) 2017, Artur Maciag, All rights reserved.Apache v2

Release historyRelease notifications RSS feed

Online

0.2.9

0.2.8

Online Yaml Validator Software

0.2.7

0.2.6

0.2.5

0.2.4

0.2.3

0.2.2

0.2.1

0.2.0

0.1.2

0.1.1

0.1.0

0.0.3

0.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for openapi-spec-validator, version 0.2.9
Filename, sizeFile typePython versionUpload dateHashes
Filename, size openapi_spec_validator-0.2.9-py2-none-any.whl (25.3 kB) File type Wheel Python version py2 Upload dateHashes
Filename, size openapi_spec_validator-0.2.9-py3-none-any.whl (25.3 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size openapi-spec-validator-0.2.9.tar.gz (22.5 kB) File type Source Python version None Upload dateHashes
Close

Hashes for openapi_spec_validator-0.2.9-py2-none-any.whl

Hashes for openapi_spec_validator-0.2.9-py2-none-any.whl
AlgorithmHash digest
SHA2566dd75e50c94f1bb454d0e374a56418e7e06a07affb2c7f1df88564c5d728dac3
MD54ed6b7ecd211c52e65c446c76297fe87
BLAKE2-25687d51e8deaaebf29672e2df4fc5244b56d2fefe01a6c7bdd6b2990cfefcdae9a
Close

Hashes for openapi_spec_validator-0.2.9-py3-none-any.whl

Online Swagger Yaml Validator

Hashes for openapi_spec_validator-0.2.9-py3-none-any.whl
AlgorithmHash digest
SHA256ec1b01a00e20955a527358886991ae34b4b791b253027ee9f7df5f84b59d91c7
MD52dfdc4bd49286b95cd2020d0e2289f46
BLAKE2-256104cb2aece7b557dc79f02537e857510f277afac44825b13d331fbfc259ea96b
Close

Hashes for openapi-spec-validator-0.2.9.tar.gz

Hashes for openapi-spec-validator-0.2.9.tar.gz
AlgorithmHash digest
SHA25679381a69b33423ee400ae1624a461dae7725e450e2e306e32f2dd8d16a4d85cb
MD53589c9cf40497849fc3a0160f0fe0213
BLAKE2-256879d016a76d6949287b3860f337faae745e5f77563a60b241d9c472305a721a1

JSON Schema can be used to validate YAML documents. YAML Ain't Markup Language (YAML) is a powerful data serialization language that aims to be human friendly. Most JSON is syntactically valid YAML, but idiomatic YAML follows very different conventions. While YAML has advanced features that cannot be directly mapped to JSON, most YAML files use features that can be validated by JSON Schema. JSON Schema is the most portable and broadly supported choice for YAML validation.

JSON

YAML

Example JSON from the JSON Schema website.

Editor Support

EditorValidationError HighlightingCompletion Suggestions
Visual Studio Code

Tools and Libraries

  • Polyglottal JSON Schema Validator - Written in JavaScript. Released under the MIT license.
    • Polyglottal JSON Schema Validator (pajv) is a command line utility that can be used to validate data in numerous formats against a JSON Schema.

Alternatives

  • Kwalify
    • Portability concerns with only Ruby and Python implementations
    • Only Python has recent development activity
    • No tooling support
  • Rx
    • Supports JavaScript, Perl, PHP, Ruby, Python
    • No recent development activity
    • No tooling support
  • yaml-validator
    • JavaScript only
    • Only structural validation
  • simple-yaml-validator
    • JavaScript only
    • Only structural validation
    • Little adoption. npm shows low download count.
  • Yamale
    • Python only
    • Relatively unknown