Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Generated REST URL rules should allow dot in URL #113

Closed
SOHELAHMED7/yii2-openapi
#15
@SOHELAHMED7

Description

@SOHELAHMED7

Lets say I have path /mail/domain/{name} in OpenAPI.

REST URL rules generated for it will be

GET mail/domain/<name:[\w-]+>

Above rule will not function for URL http://example.com/mail/domain/github.com

because github.com have dot (.)

Regex to include dot (.) will be mail/domain/<name:[\w.-]+>. So API generator should generate this URL rule to consider dot.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgenerator-featureFunctionality missing from the generator

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions