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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To add your application URL to Swagger:
Clone the Ant Media Server parent directory
git clone https://github.com/ant-media/Ant-Media-Server.gitGo 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.jsonfile undertarget/swaggerdirectoryGo 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 11andMaven 3.9.5java 17andMaven 3.9.5Parent post: #4453
Beta Was this translation helpful? Give feedback.
All reactions