iheartradio/play-swagger

Remove Swagger Json from Public Folder

Pixel2203 opened this issue · 1 comments

Hey there,
I was wondering if there is any way to remove the swagger.json from my target/web/public/main folder.
I dont want the swagger.json to be exposed to everyone. How can I achieve this ?
I tried setting swaggerTarget to another path, but it firstly generates it to the said directory and then additionally copies the swagger json also to the public folder. I did not find any option to change this, if you know anything, please let me know.

That's my swagger.yml


swagger: "2.0"
info:
title: "Find"
description: "Find everything!"
version: "1.0.0"
consumes:

  • application/json
    produces:
  • application/json

Regards

Marvin

@Pixel2203
We will deal with the rest here.
play-swagger#22