Bonnes Pratiques Web & Cloud
58.8K views | +5 today
Follow
Bonnes Pratiques Web & Cloud
Administration cloud et développement web
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Current selected tag: 'swagger'. Clear
Scooped by Mickael Ruau
Scoop.it!

swagger-api/validator-badge: Validate your Swagger JSON/YAML today!

swagger-api/validator-badge: Validate your Swagger JSON/YAML today! | Bonnes Pratiques Web & Cloud | Scoop.it
Validate your Swagger JSON/YAML today! Contribute to swagger-api/validator-badge development by creating an account on GitHub.
Mickael Ruau's insight:

This project shows a "valid swagger" badge on your site, supporting Swagger/OpenAPI 2.0 and OpenAPI 3.0 specifications.

There is an online version hosted on http://validator.swagger.io.

 

 

You can validate any OpenAPI specification against the Swagger/OpenAPI 2.0 Schema and OpenAPI 3.0 Schema as follows:

<img src="https://validator.swagger.io/validator?url={YOUR_URL}">
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

API Editor - Download or Try it in the Cloud

API Editor - Download or Try it in the Cloud | Bonnes Pratiques Web & Cloud | Scoop.it
Design, describe, and document your API on the first open source editor fully dedicated to OpenAPI-based APIs. The Swagger Editor is an easy way to get started with the OpenAPI Specification (formerly known as Swagger), with support for Swagger 2.0 and OpenAPI 3.0.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

swagger-api/swagger-inflector

swagger-api/swagger-inflector | Bonnes Pratiques Web & Cloud | Scoop.it
Contribute to swagger-api/swagger-inflector development by creating an account on GitHub.
Mickael Ruau's insight:

This project uses the Swagger Specification to drive an API implementation. Rather than a typical top-down or bottom-up swagger integration, the Inflector uses the swagger specification as a DSL for the REST API. The spec drives the creation of routes and controllers automatically, matching methods and method signatures from the implementation. This brings a similar integration approach to the JVM as swagger-node brings to the javascript world.

To allow for an iterative development, the framework will mock responses for any unimplemented methods, based on the specification. That means you can ship your API to your consumers for review immediately as you build it out.

You have full control over the mapping of controllers to classes and methods as well as models.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

API Code & Client Generator | Swagger Codegen

API Code & Client Generator | Swagger Codegen | Bonnes Pratiques Web & Cloud | Scoop.it
Swagger Codegen can simplify your build process by generating server stubs and client SDKs for any API, defined with the OpenAPI (formerly known as Swagger) specification, so your team can focus better on your API’s implementation and adoption.
Mickael Ruau's insight:

Generate Servers Remove tedious plumbing and configuration by generating boilerplate server code in over 20 different languages

 

Improve API Consumption Generate client SDKs in over 40 different languages for end developers to easily integrate with your API

 

Continuously Improved Swagger Codegen is always updated with the latest and greatest changes in the programming world

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Comment améliorer la documentation des API avec Swagger et OpenAPI

Comment améliorer la documentation des API avec Swagger et OpenAPI | Bonnes Pratiques Web & Cloud | Scoop.it
Découvrez pourquoi les développeurs devraient utiliser les avantages de Swagger et des spécifications OpenAPI pour rationaliser la conception, la documentation et la gestion des API en particulier des API RESTful.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Doing More With Springdoc-OpenAPI - DZone Java

Doing More With Springdoc-OpenAPI - DZone Java | Bonnes Pratiques Web & Cloud | Scoop.it
See how to render fully qualified names in the generated swagger documentation and global exception handling using controller advice.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Swagger codegen tutorial example

Swagger codegen tutorial example | Bonnes Pratiques Web & Cloud | Scoop.it
Learn to use swagger codegen tool to generate rest apis from rest api contract in yaml format. Learn to use swagger cli to create rest api coode and deploy.
Mickael Ruau's insight:

Swagger is an open source software to build standard documentation in a human readable format for REST APIs. This provides a UI to easily understand service contract and consumer can interact with service without any detailed knowledge of underlying logic.

Swagger is developed by SmartBear software and comes with tools like Swagger Editor, Swagger CodeGen, Swagger UI & Swagger Inspector. Swagger has provided it’s specification known as OpenAPI specification to follow while documenting REST API.

Swagger can be integrated with REST APIs in below ways:

  1. A top-down approach – First API specification and then code generation
  2. A botton-up approach – First API code and then Swagger integration. This is quite familiar and mostly useful when there is already an existing REST APIs built in and Swagger documentation needs to be integrated.

In this post we will learn how to go ahead with top-down approach.

Read More: Swagger bottom up approach example

Table of Contents 1. Overview 2. Technology stack 3. Creating API contract 4. Generating API Code 5. Executing API Code 6. Resources
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

swagger-api/swagger-js: Javascript library to connect to swagger-enabled APIs via browser or nodejs

swagger-api/swagger-js: Javascript library to connect to swagger-enabled APIs via browser or nodejs | Bonnes Pratiques Web & Cloud | Scoop.it
Javascript library to connect to swagger-enabled APIs via browser or nodejs - GitHub - swagger-api/swagger-js: Javascript library to connect to swagger-enabled APIs via browser or nodejs
Mickael Ruau's insight:

Swagger Client is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI documents.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

swagger-api/swagger-node: Swagger module for node.js

swagger-api/swagger-node: Swagger module for node.js | Bonnes Pratiques Web & Cloud | Scoop.it

The swagger module provides tools for designing and building Swagger-compliant APIs entirely in Node.js. It integrates with popular Node.js servers, including Express, Hapi, Restify, and Sails, as well as any Connect-based middleware. With swagger, you can specify, build, and test your API from the very beginning, on your laptop. It allows you to change and iterate your design without rewriting the logic of your implementation.

 

Remember, one great thing about this approach is that all of the Swagger validation logic is handled for you, and all of the routing logic is managed through the Swagger configuration. You don't have to code (or recode!) any of that stuff yourself.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

REST API Documentation Tool | Swagger UI

REST API Documentation Tool | Swagger UI | Bonnes Pratiques Web & Cloud | Scoop.it
Swagger UI allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, with the visual documentation making it easy for back end implementation and client side consumption.
Mickael Ruau's insight:
Dependency Free The UI works in any development environment, be it locally or in the web
 
Human Friendly Allow end developers to effortlessly interact and try out every single operation your API exposes for easy consumption Easy to Navigate Quickly find and work with resources and endpoints with neatly categorized documentation All Browser Support Cater to every possible scenario with Swagger UI working in all major browsers Fully Customizable Style and tweak your Swagger UI the way you want with full source code access Complete OAS Support Visualize APIs defined in Swagger 2.0 or OAS 3.0
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

OpenAPI Design & Documentation Tools | Swagger

Swagger was created by the team behind the original “Swagger Specification”, which has since been renamed to the OpenAPI Specification. Today, Swagger has evolved into one of the most widely used open source tool sets for developing APIs with the OpenAPI Specification.
Swagger for Everyone
Swagger open source and pro tools have helped millions of API developers,
teams, and organizations deliver great APIs.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Spring Boot + Swagger 3 + Security Example - DZone Java

Spring Boot + Swagger 3 + Security Example - DZone Java | Bonnes Pratiques Web & Cloud | Scoop.it
As a continuation in this Spring Boot tutorial series, learn in this post about implementing Spring Boot Basic Security for the Spring Boot Swagger example.
Mickael Ruau's insight:

In a previous tutorial, we implemented Spring Boot + Swagger 3 (OpenAPI 3) Hello World Example.  Also previously, we had implemented Understand Spring Security Architecture and implement Spring Boot Security Example. In this tutorial, we will be implementing Spring Boot Basic Security for the Spring Boot Swagger example. So when using Swagger to access the endpoints, Swagger also allows us to configure the Spring Security user name and password. 

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Spring Boot and Swagger - Documenting RESTful Services (REST API) –

Spring Boot and Swagger - Documenting RESTful Services (REST API) – | Bonnes Pratiques Web & Cloud | Scoop.it
Learn how to use Swagger with Spring Boot to document your RESTful services. We will learn how to expose automated swagger documentation from your REST API. We will also add documentation to the REST API with swagger annotations.
No comment yet.