* Set the OpenAPI specification that defines the REST API schema for this * server. All routes, parameter definitions and return types will be defined * in this way. * * Note that this will override any routes defined via decorators at the * controller level (this function takes prece
(spec: OpenApiSpec)
| 808 | * |
| 809 | */ |
| 810 | api(spec: OpenApiSpec): Binding { |
| 811 | return this.bind(RestBindings.API_SPEC).to(spec); |
| 812 | } |
| 813 | |
| 814 | /** |
| 815 | * Get the OpenAPI specification describing the REST API provided by |
no test coverage detected