Exception: Scorpio::OpenAPI::SemanticError

Inherits:
Error
  • Object
show all
Defined in:
lib/scorpio/openapi.rb

Overview

an error in the semantics of an openapi document. for example, an Operation with two body parameters (in v2, not possible in v3) is a SemanticError. an Operation with more than one parameter with the same 'name' and 'in' properties would also be a SemanticError.

an instance of a SemanticError may or may not correspond to a validation error of an OpenAPI document against the OpenAPI schema.