Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 1.93 KB

openapi-style-guide.md

File metadata and controls

69 lines (42 loc) · 1.93 KB

OpenAPI Style Guidelines

Table of Contents

OAS Rules

no-$ref-siblings

Disable the OAS no ref rule

Trimble HTTP API Standard

Trimble HTTP API Standards on Github

Trimble HTTP API Standards

Trimble Developer Program

tdp-minimum-spec-version

Warn if spec version is not 3.0 or higher

tdp-tag-pascal-case

Tag names cannot use Pascal Case

tdp-tag-camel-case

Tag names cannot use Camel Case

tdp-tag-no-versions

Tag names cannot have version information

tdp-operation-summary-description

Operation summaries and descriptions should not match. Descriptions should be longer than summaries.

tdp-operation-post-201-202-status-code

All POST methods should have a 201 or 202 response. POST (create) - Successful Responses

tdp-operation-delete-204-status-code

All DELETE methods should have a 204 response.

tdp-operation-400-response-body

All 400 responses must include a response body.