Skip to content

OpenAPI code convention

Edwin van den Belt edited this page Jul 19, 2024 · 3 revisions

Convention

In the specification, we use these 'coding conventions' in descriptions:

  • MODULE - for the module names, like PURCHASE: capitals, spaces, underlined

  • conceptName - referring to concepts that are described in the specification: capitals, spaces

  • 'propertyName' - referring to fields/attributes/properties in a concept: bold, camel case

  • ENUMERATION_VALUE - referring to values from specific properties: uppercase, underscores

  • URLs - to specify a URL, referring to endpoints in the specification: between ticks

  • PROCESS_IDENTIFIER_NAME - see Process Identifiers: italics, uppercase, underscores

  • [conditions] - free format conditions for a specific line: between brackets

The actual specification uses the same convention.

Clone this wiki locally