Fix test : desactivate swagger
This commit is contained in:
parent
1aa5e7c397
commit
bd63116d5a
1 changed files with 0 additions and 12 deletions
|
@ -1,16 +1,4 @@
|
|||
class API::V1::ProceduresController < APIController
|
||||
|
||||
swagger_controller :procedures, "Procédure API"
|
||||
|
||||
swagger_api :show do
|
||||
summary "Récupérer les informations d'une procédure"
|
||||
param :path, :id, :integer, :required
|
||||
param :path, :token, :string, :required
|
||||
response :ok, "Success", :Procedure
|
||||
response :unauthorized
|
||||
response :not_found
|
||||
end
|
||||
|
||||
def show
|
||||
@procedure = current_administrateur.procedures.find(params[:id]).decorate
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue