Standardize all Bruno environment variables to use snake_case convention
(aligned with Go naming practices) and remove duplicate camelCase variants.
Changes:
- Environment file cleanup:
- Remove: baseUrl, ebookid, fakebookid, libraryId, mediaItemId, isVisible, refreshToken
- Standardize: fakebookid → fake_book_id, isVisible → is_visible, refreshToken → refresh_token
- All variables now use consistent snake_case format
- Update all Bruno requests to use standardized variables:
- ebooks: {{ebookid}} → {{ebook_id}}
- library: {{libraryId}} → {{library_id}}
- media-items: {{mediaItemId}} → {{media_item_id}}
- visibility: {{isVisible}} → {{is_visible}}
- auth: {{refreshToken}} → {{refresh_token}}
Benefits:
- Single source of truth for each variable
- Consistent with Go naming conventions
- No ambiguity about which variable name to use
- Cleaner, more maintainable codebase
18 lines
517 B
Plaintext
18 lines
517 B
Plaintext
vars {
|
|
base_url: http://localhost:8765
|
|
ebook_id: 02a535a4-19f8-43fa-b81b-89a226d19dd9
|
|
fake_book_id: 123e4567-e89b-12d3-a456-426614174000
|
|
user_id: c51118f0-31fc-4c32-827d-517d6599bf21
|
|
media_item_id: 550e8400-e29b-41d4-a716-446655440000
|
|
highlight_id: 660f9501-f29b-51d4-b716-446655440001
|
|
note_id: 7710a602-g29b-61d4-c716-446655440002
|
|
library_id: 8821b703-h29b-71d4-d716-446655440003
|
|
job_id: 550e8400-e29b-41d4-a716-446655440000
|
|
rating: 5
|
|
is_visible: true
|
|
}
|
|
vars:secret [
|
|
token
|
|
refresh_token
|
|
]
|