How to configure to allow Swagger URL? #5921
Mohit-3196
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To add your application URL to Swagger:
Clone the Ant Media Server parent directory
git clone https://github.com/ant-media/Ant-Media-Server.git
Go to the Ant Media Server directory
cd Ant-Media-Server;
Run the compile command
mvn clean compile com.github.kongchen:swagger-maven-plugin:generate;
After the build is successful, you will see a
swagger.json
file undertarget/swagger
directoryGo to https://editor-next.swagger.io/
And copy the content of swagger.json and paste
Change the host URL to match your Ant Media Server URL and it's ready.
Note
java 11
andMaven 3.9.5
java 17
andMaven 3.9.5
Parent post: #4453
Beta Was this translation helpful? Give feedback.
All reactions