-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
I have a jenkins Open API specification. I am sending a Disable a job request
'/job/{name}/disable':
post:
description: Disable a job
operationId: postJobDisable
parameters:
- $ref: '#/components/parameters/jobName'
- $ref: '#/components/parameters/crumb'
responses:
'200':
description: Successfully disabled the job
'401':
$ref: '#/components/responses/unauthorized'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/jobNotFound'
security:
- jenkins_auth: []
tags:
- remoteAccessusing the OpenAPI::Client (version 1.0.3) implementation. Although the jenkins response code is 302 which is not one of the specified response codes (200, 401, 403, 404), the client does not complain (dies) or at least warns the user.
Reactions are currently unavailable