Giter Club home page Giter Club logo

Comments (3)

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024
  • JSON schema validation for Schema Objects
  • extended validation of Schema Objects according to specs
  • Evaluate/implement validation of Header Objects.
  • Evaluate/implement validation of Response Objects.
  • Evaluate/implement validation of Parameter Objects.
  • Evaluate/implement validation of Example Objects.
  • Evaluate/implement validation of Request Body Objects.
  • Evaluate/implement validation of Security Scheme Objects.
  • Evaluate/implement validation of Link Objects.
  • Evaluate/implement validation of Callback Objects.
  • CLI command

from prance.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on May 31, 2024

@jfinkhaeuser that one is most interesting, i presume it was stalled for personal reasons?

from prance.

jfinkhaeuser avatar jfinkhaeuser commented on May 31, 2024

Yes - I think the PR can be closed, unfortunately.

When I started the whole project, it was born out of a desire to run automated API tests. E.g. connexxion validates input data lazily, and doesn't validate output data (as far as I recall from back then).

I much prefer contract-based development, where inputs and outputs are validated at API boundaries (outputs in production less so, but in development/CI).

I felt the first step here was to implement the functionality for validating data against specs in a standalone tool that can also be used as a library. Then you can re-use the library as needed.

As a side note, the specs allow for example sections. It would have been a next step to extract examples, and check that they actually validate as well. This is, of course, optional because examples do not have to have any specific format. But it would allow using examples for bundling test data with the specs themselves.

from prance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.