Closed tomrep closed 6 years ago
Which example do you mean? I mean: What is the example that looks different from your output? As far as I can see, the output looks good.
I was expecting styles and functionality that is shown here : http://petstore.swagger.io/ , but maybe I just misunderstood what the module does
Bootprint was meant more for a printable documentation, although I think no spec ever got printed. But the goal was to generate docs that can be watched in the browser and send it to someone.
What you are looking for is swagger-ui, I believe.
Hi,
I'm trying to generate HTML for my swagger.json, but the page generated looks nothing like what I see in example. I also tried generating HTML from example json, but it still looks like styles are missing.
$ bootprint openapi http://petstore.swagger.io/v2/swagger.json target Loading bootprint-openapi 1.1.0 Loading bootprint-json-schema 1.1.0 Loading bootprint-base 1.1.0 [ 'target/index.html', 'target/main.css', 'target/main.css.map', 'target/bundle.js', 'target/bundle.js.map' ]
this is what I see in console log But result looks like this: