Example Product file: globalweatherproduct_1.0.0.yaml
The following code sample contains a Product definition.
The Product definition file globalweatherproduct_1.0.0.yaml is referenced by the example scenario in Example: Using the platform REST APIs to publish a product containing a SOAP API.
info:
version: 1.0.0
title: GlobalWeatherProduct
name: globalweatherproduct
gateways:
- datapower-api-gateway
plans:
default-plan:
title: Default Plan
description: Default Plan
rate-limits:
default:
value: 100/1hour
apis:
globalweather1.0.0: {}
apis:
globalweather1.0.0:
name: globalweather:1.0.0
visibility:
view:
type: public
orgs: []
tags: []
enabled: true
subscribe:
type: authenticated
orgs: []
tags: []
enabled: true
product: 1.0.0