swagger.json file from AppServer API

I need to obtain the json file from the OpenAPI specification for the AppServer REST API, in the current implementation i can browse the /swagger-ui/ html page but i nned the .json file to generate an API client on a gateway, this file is usually exposed on a link bellow the API name in the OpenAPI specifications