laminas-api-tools / api-tools

Laminas API Tools module for Laminas
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
37 stars 19 forks source link

new Rest service with characters out of a-z #57

Open michalbundyra opened 4 years ago

michalbundyra commented 4 years ago

I tried to create a rest service with a letter from the Spanish alphabet, "á", and the admin didn't allowed me


Originally posted by @str at https://github.com/zfcampus/zf-apigility/issues/81

michalbundyra commented 4 years ago

REST services naming has to follow PHP syntax compliance. Upon service creation, its name is used to create class names and configuration keys and values.

Le 23 nov. 2014 à 21:54, Stuardo -StR- Rodríguez notifications@github.com a écrit :

I tried to create a rest service with a letter from the Spanish alphabet, "á", and the admin didn't allowed me

— Reply to this email directly or view it on GitHub.


Originally posted by @jguittard at https://github.com/zfcampus/zf-apigility/issues/81#issuecomment-64134298

michalbundyra commented 4 years ago

Yes, but PHP classes and configuration keys and values are simple strings, which can contain those characters.


Originally posted by @str at https://github.com/zfcampus/zf-apigility/issues/81#issuecomment-64134685

michalbundyra commented 4 years ago

A-Z, a-z, - and _. No Unicode.

Envoyé de mon iPhone

Le 23 nov. 2014 à 22:07, Stuardo -StR- Rodríguez notifications@github.com a écrit :

Yes, but PHP classes and configuration keys and values are simple strings, which can contain those characters.

— Reply to this email directly or view it on GitHub.


Originally posted by @jguittard at https://github.com/zfcampus/zf-apigility/issues/81#issuecomment-64134817

michalbundyra commented 4 years ago

Where did you got that?


Originally posted by @str at https://github.com/zfcampus/zf-apigility/issues/81#issuecomment-64138980