This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 3b5d4c6 PetStore documentation.
3b5d4c6 is described below
commit 3b5d4c670c4b3ca7a03153db4b3b329f6bb6f7db
Author: JamesBognar <[email protected]>
AuthorDate: Thu Sep 12 15:57:44 2019 -0400
PetStore documentation.
---
content/petstore.html | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/content/petstore.html b/content/petstore.html
index 396e706..d76cc6a 100644
--- a/content/petstore.html
+++ b/content/petstore.html
@@ -98,7 +98,7 @@
Both sets of annotations are provided by pulling in the
Juneau dependency below:
<h5 class='figure'>Maven Dependency</h5>
- <p class='bpode w500'>
+ <p class='bcode w500'>
<xt><dependency></xt>
<xt><groupId></xt>org.apache.juneau<xt></groupId></xt>
<xt><artifactId></xt>juneau-marshall<xt></artifactId></xt>
@@ -281,7 +281,7 @@
</p>
<p class='bcode w800'>
- http://localhost:5000
+ http://localhost:5000
</p>
<img class='bordered w800' src='petstore/RootResources.png'>
@@ -325,7 +325,7 @@
)
),
<ja>@Tag</ja>(
- name=<js>"store",
+ name=<js>"store"</js>,
description=<js>"Access to Petstore
orders"</js>
),
<ja>@Tag</ja>(
@@ -410,15 +410,15 @@
Clicking the <c>petstore</c> link on the root page
takes you to our PetStore resource:
</p>
<p class='bcode w800'>
- http://localhost:5000/petstore
+ http://localhost:5000/petstore
</p>
<img class='bordered w800' src='petstore/PetStore.png'>
<p>
The <l>OPTIONS</l> menu items takes you to the
auto-generated Swagger UI for the application:
</p>
- <p class='bpcode w900'>
- http://localhost:10000/petstore/pet?method=OPTIONS
+ <p class='bcode w900'>
+ http://localhost:10000/petstore/pet?method=OPTIONS
</p>
<img class='bordered w900' src='petstore/9a.png'>
<p>
@@ -446,7 +446,7 @@
class annotated with <ja>@Example</ja>:
</p>
<h5 class='figure'>Pet.java</h5>
- <p class='bpcode w800'>
+ <p class='bcode w800'>
<ja>@Example</ja>
<jk>public static</jk> Pet example() {
<jk>return new</jk> Pet()