Package Exports
- product-api-spec
- product-api-spec/product-api-spec/openapi.json
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 (product-api-spec) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Product API Specification
This package contains the OpenAPI specification for the Product Service.
Installation
npm install product-api-spec
Usage
The OpenAPI specification can be accessed at node_modules/product-api-spec/product-api-spec/openapi.json
.
API Endpoints
GET /products/
- Get all products
Schema
The API uses the following schema for products:
{
"id": "integer",
"name": "string",
"price_in_cents": "integer"
}
License
MIT