Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.76 KB

OAS3 Specification Extensions.md

File metadata and controls

38 lines (25 loc) · 1.76 KB

Controllers

x-exegesis-controller

Controls which module defines the controller for an operation. x-exegesis-controller may contains "/"s if controllers are organized in a hierarchy.

Allowed in:

Definitions at lower levels override definitions at higher levels.

x-exegesis-operationId

Controls which operation is called within a controller.

Allowed in:

  • Operation Object - If operationId and x-exegesis-operationId are both specified, then x-exegesis-operationId takes precedence.
  • Media Type Object within the Operation Object's requestBody.content[string].

Definitions at lower levels override definitions at higher levels. Definitions in Operation or Media Type Object also override operationId in the Operation Object.