JSPM

openapi-workshop

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q31111F
  • License MIT

Self-driven workshop to learn OpenAPI

Package Exports

  • openapi-workshop

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (openapi-workshop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

OpenAPI Workshop

OpenAPI Workshop

NPM version node

✨ Learn how to use the OpenAPI Specification the easy way! ✨

OAS is a specification for machine-readable interface files for describing, producing, consuming, and visualizing RESTful web services

— about OpenAPI at Wikipedia

Exercises

This workshopper has easy and clear tasks that cover the most important aspects of OAS.

  • Basic Structure — Overview of the skeletal structure of OAS
  • POST Endpoints — Learn how to define a POST endpoint
  • POST requestBody — Learn about the POST requestBody structure
  • POST response — Learn about the POST response
  • GET Endpoints — Learn how to define a GET endpoint
  • $refs — Learn how to use $ref in OAS
  • Server Variables — Build dynamic URLs for your API with Server Variables
  • anyOf, allOf — Build complex schemas with anyOf and allOf

Requirements

If you are on Windows, make sure you are using at least version 14.15.1 of Node.js

Installation

Open your terminal and run this command:

npm install -g openapi-workshop

Usage

Open your terminal and run the following command:

openapi-workshop

License

MIT © ReadMe