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

open-api

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

@open-api Gitter chat

A Monorepo of various packages to power OpenAPI in node.

Quick Start Express

Quick Start Koa

Packages

Development

This monorepo uses lerna for development. See the root package.json for helpful scripts.

Typical Workflow for Contributors

Let's say you're working on a package under ./packages. Here's what you do:

  1. cd open-api
  2. npm run bootstrap
  3. npm t
  4. Make your changes.
  5. Do not bump the version in package.json. A maintainer will handle that once your PR is merged.
  6. Once you're satisfied with your changes:
  7. Create a new branch git checkout -b my-branch (in case you haven't done so already).
  8. ./bin/commit packages/<package_you're_working_on> 'commit message describing your change. can be multi line here. just close with a single quote like so:'
  9. Push your change to your fork
  10. Open a PR.

bin

Several scripts have been created to aid in the development of this monorepo (see ./bin). They assume that your $PWD is the root of the repository. Here is a brief summary of common actions:

  • Commit changes to a package - ./bin/commit packages/<package_to_commit> 'Commit message' (the commit message will be prepended with the package name e.g. <package_to_commit>: Commit message
  • These reduce boilerplate and are called form npm scripts in leaf repos.
    • nyc
    • tsc
    • mocha

LICENSE

The MIT License (MIT)

Copyright (c) 2018 Kogo Software LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • 逐渐理解open api的意义,试了下阿里云的续费接口,续费一个月 package com.test; /** * @author * @date 2018/12/05 */ import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import com.a

  • 本文基于nacos-2.0.3版本 nacos提供了功能丰富的Open API,使得我们可以使用http协议访问服务端,并管理服务端的配置数据。具体的功能可以参考下面网页: https://nacos.io/zh-cn/docs/open-api.html 下面代码借助nacos的工具类,使用Open API提供了配置的增删改查功能。 import com.alibaba.nacos.api.an

 相关资料
  • Open API 您可以调用我们提供的API来实现所有机器人的功能。 由于文档内容较长且更新频繁,您可以点击下面的链接查看详细的对接文档: 第四范式智能客服平台API文档v1.0

  • 描述 (Description) 此函数使用指定的文件句柄打开文件。 文件句柄可以是表达式,结果值用作句柄。 如果没有指定文件名,则使用与所使用的文件句柄同名的变量(这应该是一个标量变量,其字符串值引用文件名)。 特殊文件名' - '表示STDIN,'> - '表示STDOUT。 语法 (Syntax) 以下是此函数的简单语法 - open FILEHANDLE, EXPR, LIST open

  • open(打开文件) 相关函数 read,write,fcntl,close,link,stat,umask,unlink,fopen 表头文件 #include<sys/types.h> #include<sys/stat.h> #include<fcntl.h> 定义函数 int open( const char * pathname, int flags); int open( const

  • open 打开文件 相关函数 read,write,fcntl,close,link,stat,umask,unlink,fopen 表头文件 #include<sys/types.h> #include<sys/stat.h> #include<fcntl.h> 定义函数 int open( const char *pathname, int flags); int open( const c

  • MicroProfile Open API 是 MicroProfile 的 Open API 规范,它旨在为 OpenAPI v3 规范提供统一的 Java API,所有应用开发人员都可以使用它来暴露其 API 文档。  

  • TOP 是 Taobao Open API 客户端。 用法: var top = require('top');var client = top.createClient({  appkey: 'your key',  appsecret: 'your secret'});// invoke 'taobao.user.get': http://api.taobao.com/apidoc/api.h