Initial commit
This commit is contained in:
15
app/api/v2/admin/entities/document.rb
Normal file
15
app/api/v2/admin/entities/document.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module API::V2
|
||||
module Admin
|
||||
module Entities
|
||||
class Document < API::V2::Entities::Document
|
||||
expose :doc_number,
|
||||
documentation: {
|
||||
type: 'String',
|
||||
desc: 'document number: AB123123 type'
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user