Skip to content

Generation targets

A plan's output setting chooses what a run generates. The same specifications, plan and Service Designer are used for every target.

Output Generates Typical use
osb A complete Oracle Service Bus 12c project with its documentation and test artifacts Expose backends through the service bus
openapi One OpenAPI 3.0.3 document per exposed service (service contracts) Design or publish a REST contract, import into an API gateway
wsdl One WSDL with its XSD per exposed service (service contracts) Agree a SOAP contract before implementation
dotnet Recognised, not generated yet Planned: .NET API backends from a specification or a database mapping

What every target shares

  • Input formats. OpenAPI 3 (JSON or YAML), WSDL 1.1 (SOAP 1.1 and 1.2), WADL, with referenced XSDs. Word and PDF specifications are read as planning context.
  • Grouping. Operations are grouped into exposed services. One operation can be exposed by several services.
  • Protocols. Each exposed service is REST or SOAP, independently of the protocol of its backend: a REST backend can be exposed over SOAP and the other way round.
  • Validation. Every generated file is checked: well-formed XML or JSON, every selected operation present, namespaces, SOAP binding version, and the references between files.
  • Determinism. The same plan and documents always produce the same files, so repository write-back only shows real changes.

REST generation

REST appears in three places:

Where What is generated
A REST exposed service in an OSB project A REST proxy service with a WADL, the proxy WSDL and schema behind it, and an OpenAPI specification of the resulting API
A REST backend in an OSB project A REST business service with a WADL for the backend's resources
The openapi output A standalone OpenAPI document per exposed service

Header parameters and security schemes of the source document are carried into the generated OpenAPI, the pipelines (the headers are forwarded to the backend) and the consumer documentation.