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
I have the following methods/endpoints available in a subset of my api spec:
get /api/VoyageLogs
put /api/VoyageLogs
post /api/VoyageLogs
delete /api/VoyageLogs
get /api/VoyageLogs/Deleted
post /api/VoyageLogs/VERS
If I use Regex to try and match "^get /api/VoyageLogs$|^put /api/VoyageLogs$|^post /api/VoyageLogs$|^delete /api/VoyageLogs$" then no results are returned, and I would expect to see the first 4 in the list returned.
I have tried various methods to match these such as a non-capturing group i.e. ^(?:get|put|post|delete) /api/VoyageLogs$
I can use includes and "VoyageLogs" to retrieve these, but I have other methods where this isn't the solution as I need to match two distinct endpoints i.e. /api/HubReports & /api/HubTemplates.
Is there any further guidance on what regex can be used in mini-doc or is there a way to match multiple paths with "includes"?
Thanks
The text was updated successfully, but these errors were encountered:
can you convert your spec from Swagger v2 to OpenAPI v3 and try it.
In the later version of RapiDoc we are using parsers which is more compliant with OpenAPI v3+ and have a reduced support for auto conversion of Swagger V2 to OpenAPI V3
I have the following methods/endpoints available in a subset of my api spec:
get /api/VoyageLogs
put /api/VoyageLogs
post /api/VoyageLogs
delete /api/VoyageLogs
get /api/VoyageLogs/Deleted
post /api/VoyageLogs/VERS
If I use Regex to try and match
"^get /api/VoyageLogs$|^put /api/VoyageLogs$|^post /api/VoyageLogs$|^delete /api/VoyageLogs$"
then no results are returned, and I would expect to see the first 4 in the list returned.I have tried various methods to match these such as a non-capturing group i.e. ^(?:get|put|post|delete) /api/VoyageLogs$
I can use includes and "VoyageLogs" to retrieve these, but I have other methods where this isn't the solution as I need to match two distinct endpoints i.e. /api/HubReports & /api/HubTemplates.
Is there any further guidance on what regex can be used in mini-doc or is there a way to match multiple paths with "includes"?
Thanks
The text was updated successfully, but these errors were encountered: