What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-10 18:18:19
restful react npm
"scripts": { "start": "webpack-dev-server", "build": "webpack&nbs... Add solution -
Other 2021-11-04 13:24:20
what is swagger ui
● Swagger is an open-source software framework backed by a large ecosystem of tools that helps developers design, build, document, and consume RESTful Web services. ● Swagger allows you to describe the structure of your APIs so that machines can read ... Add solution -
Java 2021-11-01 16:25:11
spring boot example with swagger
@Override public void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler("swagger-ui.html") .addResourceLocations("classpath:/META-INF/resources/"); registry.addResourceHandler("/web... Add solution -
Other 2021-10-13 11:58:03
Enable Swagger in spring boot through API Gateway
// below is code for API Gateway @Component @Primary @EnableAutoConfiguration public class DocumentationController implements SwaggerResourcesProvider { @Override public List get() {  ... Add solution -
C# 2021-10-11 02:45:10
setup authorize in swagger .net core
services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new Info { Title = "You api title", Version = "v1" }); c.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme { Description = @"J... Add solution -
Javascript 2021-09-29 13:01:03
expressjs swagger yaml
// To load your swagger specification yaml file you need to use a module able to convert // yaml to json; for instance yamljs. >> npm install --save yamljs const express = require('express'); const app = express(); const swaggerUi = require('swag... Add solution