Modify the SwaggerUi instance to include the spec parameter: window.swaggerUi = new SwaggerUi(')Įcho "Stopping old containers: $old_containers"Įcho "Removing old containers: $old_containers"Įcho "Running container with image $APP_NAME"ĭocker run -d -name $APP_NAME -p 8888:8888 $APP_NAMEĮcho "Check out your swaggery goodness here: Modify the /dist/index.html file to include the external spec.js file. ![]() There's pineapple Tex-Mex, lemon Tex-Mex, coconut Tex-Mex, pepper Tex-Mex, Tex-Mex soup, Tex-Mex stew, Tex-Mex salad, Tex-Mex and potatoes, Tex-Mex burger, Tex-Mex sandwich.", Dey's uh, Tex-Mex-kabobs, Tex-Mex creole, Tex-Mex gumbo. "description": "You can barbecue it, boil it, broil it, bake it, sauté it. It does not have to be on the same line as the = sign. If you use a graphical editor, consider installing an ESLint plugin, which will point out syntax and style errors for you as you code. Then paste in the swagger.json file contents after. Swagger UI includes an ESLint rule definition. ![]() Then insert spec variable declaration: var spec = Create spec.js file containing Swagger JSONĬreate a new javascript file in the same directory as index.html (/dist/)
0 Comments
Leave a Reply. |