Open Jean-Baptiste-Lasselle opened 4 years ago
sse also some projects that depend on kin-openapi , and pick those of interest for tests :
apisprout on the fly creates a REST API :
docker run --name jblsprout -p 8000:8000 danielgtaylor/apisprout https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/api-with-examples.yaml
docker run --name jblsprout -p 8000:8000 danielgtaylor/apisprout https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/api-with-examples.yaml
then in antoher shell session :
curl http://localhost:8000/ | jq
when done with Open API codegen, unit testing, and documentation widdershins, and take the source code :
see this https://github.com/getkin/kin-openapi and hw to use it in tests for Frontend, aand why not for terraform