All Projects → qingstor → qingstor-api-specs

qingstor / qingstor-api-specs

Licence: Apache-2.0 License
Specifications of QingStor APIs.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to qingstor-api-specs

Springdoc Openapi
Library for OpenAPI 3 with spring-boot
Stars: ✭ 1,113 (+7850%)
Mutual labels:  swagger, openapi-specification
Swagger Inflector
Stars: ✭ 131 (+835.71%)
Mutual labels:  swagger, openapi-specification
Swagger Scala Module
Swagger support for scala
Stars: ✭ 93 (+564.29%)
Mutual labels:  swagger, openapi-specification
Swagger Editor
Swagger Editor
Stars: ✭ 7,365 (+52507.14%)
Mutual labels:  swagger, openapi-specification
Swagger Js
Javascript library to connect to swagger-enabled APIs via browser or nodejs
Stars: ✭ 2,319 (+16464.29%)
Mutual labels:  swagger, openapi-specification
Openapi To Graphql
Translate APIs described by OpenAPI Specifications (OAS) into GraphQL
Stars: ✭ 973 (+6850%)
Mutual labels:  swagger, openapi-specification
Zero Rails openapi
Concise DSL for generating OpenAPI Specification 3 (OAS3) JSON documentation for Ruby application.
Stars: ✭ 125 (+792.86%)
Mutual labels:  swagger, openapi-specification
Oas Kit
Convert Swagger 2.0 definitions to OpenAPI 3.0 and resolve/validate/lint
Stars: ✭ 516 (+3585.71%)
Mutual labels:  swagger, openapi-specification
Drf Yasg
Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
Stars: ✭ 2,523 (+17921.43%)
Mutual labels:  swagger, openapi-specification
Swagger Codegen
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
Stars: ✭ 13,859 (+98892.86%)
Mutual labels:  swagger, openapi-specification
Spectral
A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v2 & v3.
Stars: ✭ 876 (+6157.14%)
Mutual labels:  swagger, openapi-specification
Openapi Diff
Utility for comparing two OpenAPI specifications.
Stars: ✭ 208 (+1385.71%)
Mutual labels:  swagger, openapi-specification
Swagger Core
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
Stars: ✭ 6,898 (+49171.43%)
Mutual labels:  swagger, openapi-specification
Connect Api Specification
This repository contains the OpenAPI specification as well as templates for generating SDKs for Square's APIs
Stars: ✭ 56 (+300%)
Mutual labels:  swagger, openapi-specification
Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+5835.71%)
Mutual labels:  swagger, openapi-specification
Swurg
Parse OpenAPI documents into Burp Suite for automating OpenAPI-based APIs security assessments (approved by PortSwigger for inclusion in their official BApp Store).
Stars: ✭ 94 (+571.43%)
Mutual labels:  swagger, openapi-specification
Swagger Parser
Swagger Spec to Java POJOs
Stars: ✭ 468 (+3242.86%)
Mutual labels:  swagger, openapi-specification
Swagger Samples
Samples for the various Swagger projects under swagger-api
Stars: ✭ 499 (+3464.29%)
Mutual labels:  swagger, openapi-specification
Validator Badge
Validate your Swagger JSON/YAML today!
Stars: ✭ 158 (+1028.57%)
Mutual labels:  swagger, openapi-specification
Redoc
📘 OpenAPI/Swagger-generated API Reference Documentation
Stars: ✭ 15,935 (+113721.43%)
Mutual labels:  swagger, openapi-specification

QingStor API Specs

Build Status License

Specifications of QingStor APIs.

Specification

We use OpenAPI Specification (Swagger) v2.0 to describe QingStor APIs, the API specifications can be used to generate API documentation and SDK for various programming languages.

A customized data type was added to the original OpenAPI Specification v2.0 standard for better describing our APIs.

View the OpenAPI Specification (Swagger) v2.0 schema.

View an API specification example using this schema.

Customized Data Types

Common Name type format Comments
DateTime (RFC 822) string date-time-rfc822 Example: Mon, 02 Jan 2006 15:04:05 GMT

Refer to data types in OpenAPI Specification (Swagger) v2.0 for more information.

Directory Organization

The structure of the directories has following levels:

  1. API Version
  2. Specification Format
  3. the Specification

For Example:

└── 2016-01-06
    └── swagger
        └── api_v2.0.json
        ├── bucket.json
        ├── bucket_acl.json
        ...

Currently, the specifications are expected to be in the OpenAPI Specification (Swagger) v2.0's JSON format.

Validation

There are lots of tools to validate JSON file with its JSON schema, we chose z-schema to do this.

Notice: NodeJS is required.

Get in the project directory and install dependencies.

$ npm install

Run the validate script.

$ npm test # or `npm t`

Reference Documentations

Contributing

  1. Fork it ( https://github.com/yunify/qingstor-api-specs/fork )
  2. Create your feature branch (git checkout -b new-feature)
  3. Commit your changes (git commit -asm 'Add some feature')
  4. Push to the branch (git push origin new-feature)
  5. Create a new Pull Request

LICENSE

The Apache License (Version 2.0, January 2004).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].