当前位置: 首页 > 软件库 > Web应用开发 > >

swagger-to-existing-nodejs-project

授权协议 MIT License
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 凤经国
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

swagger-to-existing-nodejs-project

Demo application that shows how to add Swagger UI Spec to existing Node.js/Express.js project

Requirements

  • Node.js v6.11.0
  • MongoDB v3.4.6
  • Gulp v3.9.1

Usage

  • Install dependencies npm i
  • Start docker-compose docker-compose up or start you own MongoDB
  • Start server gulp develop

Api documentation can be found on: http://localhost:3000/api-docs

License

swagger-to-existing-nodejs-project is released under MIT License.

  • 一、Swagger是什么鬼? What is Swagger? The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilitie

  • Presumably no web developer is a stranger to REST APIs and the challenges that architecting an effective and efficient API solution brings. 大概没有Web开发人员对REST API和架构有效的API解决方案带来的挑战陌生。 These challenges i

 相关资料
  • Swagger-to-GraphQL Swagger-to-GraphQL converts your existing Swagger schema to an executableGraphQL schema where resolvers perform HTTP calls to certain real endpoints. Itallows you to move your API t

  • 问题描述 (Problem Description) 如何将一个文件复制到另一个文件? 解决方案 (Solution) 此示例显示如何使用BufferedWriter类的读写方法将一个文件的内容复制到另一个文件中。 import java.io.*; public class Main { public static void main(String[] args) throws Excep

  • 问题描述 (Problem Description) 如何在现有文件中附加字符串? 解决方案 (Solution) 此示例显示如何使用filewriter方法在现有文件中追加字符串。 import java.io.*; public class Main { public static void main(String[] args) throws Exception { try

  • E.1. IntelliJ Idea IntelliJ 可以很好的开发 Gradle ,提供了不错的插件。这个 IDE 同样支持 Gradle 的构建脚本。IntelliJ 允许您定义任何文件形式来被解释为一个 Groovy 脚本。在 Gradle ,您可以定义 build.gradle 和settings.gradle 这种模式。这就已经很有用。现在缺少的是路径的 Gradle 的二进制文件的

  • 1 历史、现状和发展 Swagger:是一个规范和完整的框架,可以用于生成、描述、调用和可视化 RESTful 风格的 Web 服务,总体目标是使客户端和文档系统与服务器以同样的速度进行更新。Swagger倾向于在线测试接口和数据。并且这是一个完全开源的项目,并且它也是一个基于Angular的成功案例,我们可以下载源码并自己部署它,也可以修改它或集成到我们自己的软件中。 Swagger的创始人:

  • Swagger 是一个规范和完整的框架,用于生成、描述、调用和可视化 RESTful 风格的 Web 服务。 总体目标是使客户端和文件系统作为服务器以同样的速度来更新。文件的方法、参数和模型紧密集成到服务器端的代码,允许 API 来始终保持同步。Swagger 让部署管理和使用功能强大的 API 从未如此简单。