All Projects → isa-group → Oas Generator

isa-group / Oas Generator

Licence: apache-2.0
NodeJS RESTful APIs scaffolding based OpenAPI 3.x specs using oas-tools and express.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Oas Generator

Fastapi Gino Arq Uvicorn
High-performance Async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
Stars: ✭ 204 (+537.5%)
Mutual labels:  api, rest, openapi3
Restless
Express.js api, type safe validations and more
Stars: ✭ 32 (+0%)
Mutual labels:  api, rest, express
Openapi Directory
🌐 Wikipedia for Web APIs. Directory of REST API definitions in OpenAPI 2.0/3.x format
Stars: ✭ 2,635 (+8134.38%)
Mutual labels:  api, openapi3, oas
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+356.25%)
Mutual labels:  api, rest, express
Awesome Openapi3
😎 A list of awesome projects related to OpenAPI 3.0.x, curated by the community
Stars: ✭ 469 (+1365.63%)
Mutual labels:  api, openapi3, oas
Node Express Postgresql Sequelize
Node.js, Express.js, Sequelize.js and PostgreSQL RESTful API
Stars: ✭ 148 (+362.5%)
Mutual labels:  api, rest, express
Fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Stars: ✭ 39,588 (+123612.5%)
Mutual labels:  api, rest, openapi3
Openapi Generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Stars: ✭ 10,634 (+33131.25%)
Mutual labels:  api, rest, openapi3
Swagger Ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
Stars: ✭ 21,279 (+66396.88%)
Mutual labels:  rest, openapi3, oas
Nodejs Restful Api
How to create a RESTful CRUD API using Nodejs?
Stars: ✭ 285 (+790.63%)
Mutual labels:  api, rest, express
Tcases
A model-based test case generator
Stars: ✭ 103 (+221.88%)
Mutual labels:  api, rest, openapi3
Rest Api Nodejs Mongodb
A boilerplate for REST API Development with Node.js, Express, and MongoDB
Stars: ✭ 672 (+2000%)
Mutual labels:  api, rest, express
Api Client Generator
Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
Stars: ✭ 92 (+187.5%)
Mutual labels:  api, rest, scaffolding
Mono
Minimalist Framework on top of Express.js
Stars: ✭ 163 (+409.38%)
Mutual labels:  api, rest, express
Foal
Elegant and all-inclusive Node.Js web framework based on TypeScript. 🚀.
Stars: ✭ 1,176 (+3575%)
Mutual labels:  api, rest, express
Mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Stars: ✭ 3,448 (+10675%)
Mutual labels:  api, rest, openapi3
Prism
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
Stars: ✭ 2,484 (+7662.5%)
Mutual labels:  openapi3, oas, cli
Generators
API Generator - instantly generate REST and GraphQL APIs (openapi (OAS) 3.0.0)
Stars: ✭ 213 (+565.63%)
Mutual labels:  rest, openapi3, oas
Httpie
As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie
Stars: ✭ 53,052 (+165687.5%)
Mutual labels:  api, rest, cli
Node Express Mongodb Jwt Rest Api Skeleton
This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp
Stars: ✭ 603 (+1784.38%)
Mutual labels:  api, rest, express

oas-generator

Build Status dependencies Status codecov Known Vulnerabilities Greenkeeper badge

NPM

This module provides NodeJS RESTfull APIs scaffolding based OpenAPI 3.x specs using oas-tools and express. It is compatible with servers generated with the swagger-tool suite to help in the transition from pre-existing servers based on 2.x specs.

We have a 2 min. tutorial:

oas-generator introduction (v2.0.6) - Click to Watch!

1. Install oas-generator

npm install oas-generator -g

2. Use oas-generator command

2.1. Help

$ oas-generator --help

Usage:  oas-generator <OAS v3 file in YAML or JSON>

  Options:

    -n, --projectName <projectName>  Name for the generated folder
    -z, --generateZip                Indicate whether the generated folder must be deleted after compression
    -h, --help                       output usage information

2.2 Examples

Generate a NodeJS project: The following command wil create the code of a NodeJS application based on the OpenAPI Spec 3.x docker-engine.yaml and place its code in a folder by the name generatedServer.

$ oas-generator specs/docker-engine.yaml -n generatedServer

Once the folder is created locate into it. Install dependencies and run it by doing npm start:

$ cd generatedServer
$ npm start

Now your app is running on port 8080. You can try the url http://localhost:8080/v1.33/volumes

In the folder controllers there will be a set of js files with the templates for each method specified in the spec that should be completed to have a fully working API.

Happy coding!

License

Copyright 2018, ISA Group, University of Sevilla

For technical inquiry please contact to engineering team.

ISA Group

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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].