Implement CRUD functionality for Articles and Tiers with enhanced API documentation
- Introduced new endpoints for creating and modifying articles (`art_add`, `art_mod`) and tiers (`third_add`, `third_mod`), allowing users to manage these entities effectively. - Updated the Articles and Tiers pages to include forms for adding and modifying records, complete with parameter tables for clear guidance on required inputs. - Enhanced the API documentation to include detailed descriptions, examples, and metadata for the new endpoints, improving usability and understanding for developers. - Created a new rule for writing conventions with French accents to ensure consistency across the project. - Updated existing documentation to reflect structural changes and added a summary table for CRUD operations. - Added tests to verify the functionality of the new features and ensure robust error handling.
This commit is contained in:
@@ -35,10 +35,9 @@ it('generates heading IDs matching the table of contents anchors', function () {
|
||||
'5-tables-et-colonnes-disponibles',
|
||||
'6-récupération-de-données',
|
||||
'7-envoi-de-données',
|
||||
'8-endpoints-non-fonctionnels',
|
||||
'9-relations-entre-entités',
|
||||
'10-remarques-et-points-dattention',
|
||||
'11-ressources-externes',
|
||||
'8-relations-entre-entités',
|
||||
'9-remarques-et-points-dattention',
|
||||
'10-ressources-externes',
|
||||
];
|
||||
|
||||
foreach ($anchors as $anchor) {
|
||||
@@ -81,5 +80,10 @@ it('documents all service endpoints', function () {
|
||||
->assertSee('third_list')
|
||||
->assertSee('third_GetArtHistory')
|
||||
->assertSee('getserialnumber')
|
||||
->assertSee('codes_list');
|
||||
->assertSee('codes_list')
|
||||
->assertSee('custom_geninv_updatestock')
|
||||
->assertSee('art_add')
|
||||
->assertSee('art_mod')
|
||||
->assertSee('third_add')
|
||||
->assertSee('third_mod');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user