Hi experts,

I am interested to embed swagger ui as one of my tabs in an angular 4 
application page.

I could very well install and on click of the respective page, the URL is 
changing from 

https://localhost:4200/myproject/#/shopping/view/Priya

to 
https://localhost:4200/myproject/#

ngAfterViewInit() {
console.log("Swagger issue");
const ui = SwaggerUI({
// url: "http://petstore.swagger.io/v2/swagger.json";,
// domNode: this.el.nativeElement.querySelector(".swagger-container"),
deepLinking: true,
presets: [
SwaggerUI.presets.apis
]
});
}


I had added it like the one above.

Your help is very much appreciated.


Thanks,
Priya

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to