1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/views/open_api/v1/spaces/index.json.jbuilder
Sylvain 657723bc22 (api) OpenAPI plans endpoints
index and show endpoints
2022-08-30 12:58:44 +02:00

7 lines
177 B
Ruby

# frozen_string_literal: true
json.spaces @spaces do |space|
json.partial! 'open_api/v1/spaces/space', space: space
json.extract! space, :description, :characteristics
end