yangbo / swagger-grails4

A Grails-v4 Plugin to automatically generate REST API document using OpenAPI-v3 (swagger)
MIT License
12 stars 5 forks source link

api endpoint already in use, ways to change it #31

Closed SmikeSix2 closed 3 months ago

SmikeSix2 commented 5 months ago

hi our grails 4 uses /api with url rewrites, its there a way to have a hidden api endpoint for swagger? couldnt see any configs about it

yangbo commented 5 months ago

hi SmikeSix, there is no config for '/api' url of swagger, you have to can change it in the 'UrlMappings.groovy' source file, good luck : )

image