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 c67294a Petstore documentation.
c67294a is described below
commit c67294a0fba088766bde1f8a905b341681d24d59
Author: JamesBognar <[email protected]>
AuthorDate: Mon Sep 9 21:19:25 2019 -0400
Petstore documentation.
---
content/petstore.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/petstore.html b/content/petstore.html
index 8f13d78..fe0aad2 100644
--- a/content/petstore.html
+++ b/content/petstore.html
@@ -64,7 +64,7 @@
The <c>PetStore</c> class is our primary class for defining our
application. It's a standard Java interface with
annotations used to describe how the methods map to REST calls.
</p>
-<h6 class='figure'>PetStore.java</h6>
+<h5 class='figure'>PetStore.java</h5>
<p class='bpcode w800'>
<ja>@RemoteResource</ja>(path=<js>"/petstore"</js>)
<jk>public interface</jk> PetStore {
@@ -104,7 +104,7 @@
Both sets of annotations are provided by pulling in the Juneau
dependency below:
<h5 class='figure'>Maven Dependency</h5>
-<p class='bcode w500'>
+<p class='bpcode w500'>
<xt><dependency></xt>
<xt><groupId></xt>org.apache.juneau<xt></groupId></xt>
<xt><artifactId></xt>juneau-marshall<xt></artifactId></xt>
@@ -116,7 +116,7 @@
so that they can easily be stored in a JPA datastore on the server side.
</p>
<h5 class='figure'>Pet.java</h5>
-<p>
+<p class='bpcode w800'>
<ja>@Bean</ja>(typeName=<js>"Pet"</js>, fluentSetters=<jk>true</jk>,
properties=<js>"id,species,name,tags,price,status"</js>)
<ja>@Entity</ja>(name=<js>"PetstorePet"</js>)
<jk>public class</jk> Pet {