1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00
fab-manager/app/views/open_api/v1/spaces/index.json.jbuilder
Sylvain 4c3aa59bc0 (api) openAPI spaces endpoints
index spaces and show a space
2022-08-30 12:18:09 +02:00

7 lines
179 B
Ruby

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