Code for the article: https://www.freecodecamp.org/news/how-to-build-explicit-apis-with-openapi/
This codebase shows how to build an OpenAPI-backed express application.
# Install dependencies
npm i
# Run app
npm run start
Thanks to its OpenAPI compliance, the app auto-generates the documenation of the API on the fly.
Available in http://localhost:3030/api-documentation, while the app is running.
MIT-License