Open
Description
Hi, im trying to use with multiple spec files and urls defined. but it runs only one of them if i define 2 spec.
is it possible to run like this as in swagger-ui package .
const ui = SwaggerUIBundle({
urls: [
{ name: 'v1', url: 'https://petstore.swagger.io/v2/swagger.json'},
{ name: 'v2', url: 'https://petstore.swagger.io/v2/swagger.json'}
]
})
using the middleware as its , it runs only on of them currently if i dont miss anything.
oas({
spec,
endpoint: '/v2',
uiEndpoint: '/'
});
would be good if its possible to run with multiple endpoints as array and can version apis on UI as :
Metadata
Assignees
Labels
No labels