Version
This page concerns v2.0 of the Specification. Supporting material on v1.0 is SWIM-SERV-029 Examples of code
Requirement
Title | Examples of code |
Identifier | SWIM-SERV-340 |
Requirement | A service description should include or refer to examples of code exemplifying the implementation of the consuming service interface. |
Rationale | Providing example code is a best practice to speed up prototyping. |
Verification | Completeness: Not Applicable. Consistency: If provided, verify that the provided examples correspond to the described service. Correctness: Not Applicable. |
Examples/Notes | Examples include source code in a given programming language, input and output messages. |
Level of Implementation | Recommended |
Guidance
Verification Support
Consistency | Check that: [ ] The provided examples correspond to the described service. |
Examples
The following example shows the content as a table.
examples of code | A set of message examples is available at public:/2019-09/MessageExamples.txt |
---|
The following example shows an extract of the content of a JSON file that conforms to the Service Metadata Schema
tbd
Complete examples are available at Example service description.