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
{{ message }}
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
# OpenAPI specpaths:
'/company/{companyId}/bank-accounts':
parameters:
- name: companyIdin: pathdescription: ID of the company.x-regex: '[\w-]'<--- new configrequired: trueschema:
type: integer
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 bemail/domain/<name:[\w.-]+>
. So API generator should generate this URL rule to consider dot.The text was updated successfully, but these errors were encountered: