You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most external API's have some version number in the endpoints paths. Since v197 of compas the namePart is sticker, which good I think. But when compas uses the extendWithOpenApi method (see below) to convert an openapi stucture to a compas one, most route paths are used as route names (in compas). This results in validation errors on openapi imported routes.
const app = new App();
app.extendWithOpenApi("group", data);
Most external API's have some version number in the endpoints paths. Since v197 of compas the namePart is sticker, which good I think. But when compas uses the
extendWithOpenApi
method (see below) to convert an openapi stucture to a compas one, most route paths are used as route names (in compas). This results in validation errors on openapi imported routes.Example:
Source https://github.com/compasjs/compas/blob/main/gen/code-gen.js#L13
Peposed regex:
^[a-zA-Z][a-zA-Z0-9]+$
Can contain digits but can not start with one
The text was updated successfully, but these errors were encountered: