Diego Ambrosanio
Diego Ambrosanio
I tried, but it doesn't work. I've got an array of OpenAPIBackend, so this is my code... ```javascript app.use('/', async (req, res) => { const [res1, res2] = await Promise.all([...
One handleRequest **OK**... ```javascript app.use('/', async (req, res) => { const [res1, res2] = await Promise.all([ apiList[0].handleRequest(req, req, res) ]); if (res1.statusCode !== 404) return res1; return res.status(404).end(); }); ```...
Tried... ```javascript app.use('/', async (req, res) => { try { let [res1,res2] = await Promise.all([ apiList[0].handleRequest(req, req, res), apiList[1].handleRequest(req, req, res) ]); if (res.statusCode !== 404) return res return res.status(404).end();...
I'm stuck... :( Here a full example to reproduce the error... any solution? ```javascript const OpenAPIBackend = require('openapi-backend').default; const express = require('express'); const app = express(); app.use(express.json()); // define api...
Hi @anttiviljami ...any news about the feature ?
> @snakuzzo are you dealing with a recursive structure somewhere? Yes I need to create a mock and specs are not mine. I cannot edit files, so I cannot remove...
I tried to pass JSON schema to ajv and, as you said, it correctly validate schema. `{validate: false}` Is the only way ? @anttiviljami is there no way to change...
I'd like to collaborate...but I don't know how :) I'm not so experienced
Hi @elby22...did you tried something ?!
here it is... ```yaml openapi: 3.0.0 info: title: 'My example' version: '2.2' servers: - url: https://api.example.com/v3 paths: '/myexample/{id}': get: tags: - ID 20a parameters: - name: id in: path schema:...