You can also choose to use the editor if you do not wish to add additional code to your application.
Each project has its own information on how to set it up:
For swagger-editor, you can also use the online version at http://editor.swagger.io.
As for where to keep the Swagger JSON files, that's entirely up to you. You would eventually need to serve the file somehow (using a server). There's an option to include the spec in the UI itself, but then you won't be able to modify it directly with the editor and would have to manage it manually.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
./bin/java-petstore.shPlease set scalaVersion := "" in build.sbt and run ./sbt assemblyFire up whichever web server you favor, and serve the two static files. For ease of use, we've provided you with the sample files here.
Once you have your web server up and running, go ahead and clone Swagger-UI. Follow the directions there on how to run it, and direct it at your api-docs file.
- npm install
- npm run-script build
- You should see the distribution under the dist folder. Open ./dist/index.html to launch Swagger UI in a browser
--
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/zOOIyeOnPQ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggers...@googlegroups.com.
Which is more common with Swagger implementations -- to write comments in the API source, or to keep them in a separate JSON file?
This is where I'm most confused. When I click the Try It Out button on my mock Swagger demo here: http://idratherbewriting.com/swagger/dist/, it actually tries to do something and gets a list of all kinds of links on my site. What is Swagger doing when I click that Try It Out button?
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/zOOIyeOnPQ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/zOOIyeOnPQ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/zOOIyeOnPQ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to swagger-swaggers...@googlegroups.com.