Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering ServiceStack

You're reading from   Mastering ServiceStack Utilize ServiceStack as the rock solid foundation of your distributed system

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher Packt
ISBN-13 9781783986583
Length 216 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Andreas Niedermair Andreas Niedermair
Author Profile Icon Andreas Niedermair
Andreas Niedermair
Arrow right icon
View More author details
Toc

Metadata page

Adding documentation to your API is a key aspect while creating an understandable and accepted interface. You can roll an automatically generated documentation with your service that ServiceStack populates through annotations on your DTOs. This documentation is generated by the metadata feature (enabled by default) and can be reached by browsing /metadata, which makes the following information available:

  1. A complete list of XML Schema Definition (XSD) types for all services.
  2. A list of all operations excluding the ones that have been hidden by using [ServiceStack.RestrictAttribute(VisibilityTo = ServiceStack.RequestAttributes.None)].
  3. Links to all available content formats excluding the ones that have been ignored by your app host's Config.IgnoreFormatsInMetadata collection or annotated with [ServiceStack.RestricitAttribute(VisibilityTo = ServiceStack.RequestAttributes.Any & ~ServiceStack.RequestAttributes.Xml)].
  4. Links to SOAP 1.1 and 1.2 WSDLs.
  5. Links to additional debug...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image