laminas-api-tools / api-tools-skeleton

Skeleton Application for Laminas API Tools
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
50 stars 64 forks source link

Create a new RPC service using Laminas API tools > Error creating service (Code: 422): Failed Validation #50

Open ranjith-2517 opened 2 years ago

ranjith-2517 commented 2 years ago

Issue Report

Q A
8.0.16 PHP

Not able to create an RPC service, I'm getting the below error

Error creating service (Code: 422): Failed Validation

REST service is working fine. The problem is only with the RPC service which is I do not understand. Can someone please help me? Thanks in advance. :-) I have attached the screenshot of composer.json for reference. Screenshot from 2022-03-04 09-45-38

Screenshot from 2022-03-04 09-06-33

Bro3x commented 2 years ago

Same here. Got the following messages at ContentValidationListener.php:267:

'controller_class' => 'The Controller Class must be a valid, fully qualified, PHP class name' 'accept_whitelist' => 'The Accept Whitelist must be an array of valid media type expressions' 'content_type_whitelist' => 'The Content-Type Whitelist must be an array of valid media type expressions' 'http_methods' => 'The HTTP Methods must be an array of valid HTTP method names'

Bro3x commented 2 years ago

See https://github.com/laminas-api-tools/api-tools-admin/issues/81