Skip to content

Commit

Permalink
Add datetime type to swagger doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ddippolito committed Jan 23, 2025
1 parent 427d5b0 commit c59d93c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/swagger_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
This ensures that only approved clients can create, update, or remove job listings.
If you ever need a new or replacement key, let us know, and we’ll assist you with the process.
You can reach us at [[email protected]](mailto:[email protected]).
**Base URL**: `/ats-api/v1`
Expand Down Expand Up @@ -100,9 +101,9 @@
},
expires_at: {
type: :string,
format: :date,
example: "2025-03-13",
description: "The end date of the vacancy. Must be after the start date.",
format: :datetime,
example: "2025-03-13T15:30:00Z",
description: "The end datetime of the vacancy. Must be after the start date.",
},
job_title: {
type: :string,
Expand Down

0 comments on commit c59d93c

Please sign in to comment.