Skip to content

Commit

Permalink
update swagger for download_pdf for hca controller
Browse files Browse the repository at this point in the history
  • Loading branch information
coope93 committed Mar 3, 2025
1 parent 80bba6a commit 951b375
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions app/swagger/swagger/requests/health_care_applications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,37 @@ class HealthCareApplications
end
end

swagger_path '/v0/health_care_applications/download_pdf' do
operation :post do
key :description, 'Download a pre-filled 10-10EZ PDF form.'
key :tags, %w[benefits_forms]

parameter do
key :name, :form
key :in, :body
key :description, 'The form data used to fill the PDF form.'
key :required, true
key :type, :object
end

parameter do
key :name, :asyncCompatible
key :in, :body
key :description, 'Flag indicating compatibility with async processing.'
key :required, false
key :type, :boolean
end

response 200 do
key :description, 'PDF form download'

schema do
property :data, type: :string, format: 'binary'
end
end
end
end

swagger_schema :HealthCareApplicationSubmissionResponse do
key :required, %i[formSubmissionId timestamp success]

Expand Down

0 comments on commit 951b375

Please sign in to comment.