test/dummy/app/controllers/labels_controller.rb in lina-0.0.2 vs test/dummy/app/controllers/labels_controller.rb in lina-0.0.3

- old
+ new

@@ -6,6 +6,21 @@ return: { } } do render json: [] end + + define_action :show, { + name: 'label id show', + params: { + type: 'object', + properties: { + id: { type: 'string' } + } + }, + return: { + } + } do + render json: { user: current_user } + return + end end