cl-openapi-parser

2023-06-18

OpenAPI 3.0.1 and 3.1.0 parser/validator

Upstream URL

github.com/pokepay/cl-openapi-parser

Author

pokepay developer team

License

MIT
README

cl-openapi-parser

OpenAPI 3.0.1 and 3.1.0 parser/validator

Usage

(ql:quickload :openapi-parser)

(openapi-parser:parse-file "examples/api-with-examples.yaml")
; => #<OPENAPI-PARSER/SCHEMA/3.0.1:<OPEN-API> {10036FFBC3}>

(openapi-parser:parse-file "examples/error.yaml")

; Path: paths./.get.responses.200
; Line: 11
; Expected type: #<SCHEMA-METACLASS OPENAPI-PARSER/SCHEMA/3.0.1:<RESPONSE>>
; Missing field key 'description'

Warning

This software is still ALPHA quality. The APIs will be likely to change.

License

MIT

Dependencies (10)

  • alexandria
  • cl-change-case
  • closer-mop
  • cl-package-locks
  • cl-str
  • cl-yaml
  • esrap
  • rove
  • trivia
  • trivial-types

Dependents (0)

    • GitHub
    • Quicklisp