News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

VG Tech:
Swagger Docs in ZF2 with Examples - Part 2 Swagger UI
March 06, 2014 @ 09:52:25

On the VG Tech blog, they've posted a follow-up to their previous post about using the Zend Framework 2 to generate Swagger documentation for an API. In this new post (part 2) they focus more on Swagger UI.

This blog post on Swagger UI is a follow-up on my recent post on Swagger annotation parsing in ZF2. If you're not already set up with Swagger annotation parsing in you ZF2 app I recommend that you read part 1 first. In the last post we got ZF2 set up with annotation parsing and everything, and the only thing missing was Swagger UI for the neat presentation. I skipped that previously but today we'll add the last piece.

This second part of the series uses a custom package to create a "SwaggerUI" module. There's a few file updates that need to be made to the configuration, but the rest is handled for you. In the end, the result will look something like this, showing endpoints and allow you to interact with the API directly through forms and sample calls.

0 comments voice your opinion now!
swagger swaggerui tutorial series part2 package module

Link: http://tech.vg.no/2014/03/06/swagger-docs-in-zf2-with-examples-part-2-swagger-ui-2/

blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Build Blazing Fast PHP Websites with Memcached Distributed Caching

WeberDev.com: User Authentication With patUser (Part 1)

Michaelangelo van Dam' Blog: Configuring Zend Framework apps for Windows Azure

Brandon Savage's Blog: Making Zend_Navigation Useful

Josh Adell's Blog: Command Invoker Pattern with the Open/Closed Principle


Community Events

Don't see your event here?
Let us know!


release laravel library introduction language framework api symfony opinion version series threedevsandamaybe podcast interview security voicesoftheelephpant extension unittest community laravel5

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework