Document the API using OpenAPI #127

Merged
bustikiller merged 6 commits from rswag-documentation into main 2024-11-15 18:49:11 +00:00
Showing only changes of commit ca0b1b18d3 - Show all commits

View File

@ -26,12 +26,12 @@ RSpec.configure do |config|
paths: {},
servers: [
{
url: 'http://{defaultHost}/api',
variables: {
defaultHost: {
default: 'libre-wedding-planner.app.localhost'
}
}
url: '/',
description: 'suitable for testing'
},
{
url: 'http://libre-wedding-planner.app.localhost/api',
description: 'Suitable for development'
}
]
}