mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-08 20:19:30 +00:00
Added tests for all API endpoints of Structural elements
This commit is contained in:
parent
7b5ae70de3
commit
3d67ad870a
16 changed files with 887 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ use Symfony\Component\Validator\Constraints as Assert;
|
|||
denormalizationContext: ['groups' => ['measurement_unit:write', 'api:basic:write', 'attachment:write', 'parameter:write'], 'openapi_definition_name' => 'Write'],
|
||||
)]
|
||||
#[ApiResource(
|
||||
uriTemplate: '/footprints/{id}/children.{_format}',
|
||||
uriTemplate: '/measurement_units/{id}/children.{_format}',
|
||||
operations: [
|
||||
new GetCollection(
|
||||
openapi: new Operation(summary: 'Retrieves the children elements of a MeasurementUnit.'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue