Skip to content

Commit da454d0

Browse files
committed
Update metadata images
1 parent 2cbf6c2 commit da454d0

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

MyApp/_pages/api-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public class WebAndMobileApi : IReturn<MyResponse> {}
283283

284284
Where they'll appear as a tab to additionally filter APIs in metadata pages:
285285

286-
![](/img/pages/metadata/tag-groups.png)
286+
![](/img/pages/metadata/tag-groups.webp)
287287

288288
They're also supported in [Add ServiceStack Reference](/add-servicestack-reference) where it can be used in the [IncludeTypes](/csharp-add-servicestack-reference#includetypes) DTO customization option where tags can be specified using braces in the format `{tag}` or `{tag1,tag2,tag3}`, e.g:
289289

MyApp/_pages/metadata-page.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Metadata Pages
44

55
ServiceStack will automatically generate a metadata page about the webservice. The metadata can be found under the URL `/metadata`:
66

7-
![Example](https://raw.githubusercontent.com/ServiceStack/Assets/master/img/wikis/metadata-chat.png)
7+
![](/img/pages/metadata/metadata-chat.webp)
88

99
The Metadata page contains:
1010

@@ -35,7 +35,7 @@ public class SwaggerTest
3535

3636
If now the detail page of the specific service is inspected, the description configured above will be displayed on both the [Open API](/openapi) and Metadata Detail Page:
3737

38-
![Metadata Detail Page](https://raw.githubusercontent.com/ServiceStack/Assets/master/img/release-notes/metadata-swagger-api.png)
38+
![](/img/pages/metadata/metadata-swagger-api.webp)
3939

4040
### Group Services by Tag
4141

@@ -54,16 +54,15 @@ public class WebAndMobileApi : IReturn<MyResponse> {}
5454

5555
Where they'll appear as a tab to additionally filter APIs in metadata pages:
5656

57-
![](/img/pages/metadata/tag-groups.png)
58-
57+
![](/img/pages/metadata/tag-groups.webp)
5958

6059
## Adding Links to Metadata page
6160

6261
### Debug Links
6362

6463
A good place to provide better visibility of functionality in ServiceStack is with the **Plugin Links** and **Debug Info** links section to the `/metadata` page which add links to any Plugins with Web UI's, e.g:
6564

66-
![Debug Info Links](https://raw.githubusercontent.com/ServiceStack/Assets/master/img/release-notes/debug-links.png)
65+
![](/img/pages/metadata/debug-links.webp)
6766

6867
The Debug Links section is only available in **DebugMode** (recap: set by default in Debug builds or explicitly with `Config.DebugMode = true`). In addition, users with the **Admin** role (or if `Config.AdminAuthSecret` is enabled) can also view the debug Plugins UI's in production.
6968

@@ -93,7 +92,7 @@ metadata.IndexPageFilter = page => {
9392

9493
The HTML templates for the metadata pages are maintained as [embedded html template resources](https://github.com/ServiceStack/ServiceStack/tree/master/src/ServiceStack/Templates).
9594

96-
The VFS lets you replace built-in ServiceStack templates with your own by simply copying the metadata or [HtmlFormat Template files](http://bit.ly/164YbrQ) you want to customize and placing them in your Website Directory at:
95+
The VFS lets you replace built-in ServiceStack templates with your own by simply copying the metadata or [HtmlFormat Template files](https://github.com/ServiceStack/ServiceStack/tree/master/src/ServiceStack/Templates) you want to customize and placing them in your Website Directory at:
9796

9897
```
9998
/Templates/HtmlFormat.html // The auto HtmlFormat template
Binary file not shown.
Binary file not shown.
Binary file not shown.
52.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)