From f87b74f493567b17557bdcc34f37296fcae1cadd Mon Sep 17 00:00:00 2001 From: Matheus Cruz <56329339+mcruzdev@users.noreply.github.com> Date: Mon, 31 Mar 2025 09:08:03 -0300 Subject: [PATCH] Adjust moqu wiremock docs (#1080) * Adjust Moqu Wiremock documentation * Remove dollar from expression --- docs/modules/ROOT/pages/moqu.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/modules/ROOT/pages/moqu.adoc b/docs/modules/ROOT/pages/moqu.adoc index 846cd9bbc..cb8e62c1f 100644 --- a/docs/modules/ROOT/pages/moqu.adoc +++ b/docs/modules/ROOT/pages/moqu.adoc @@ -15,16 +15,16 @@ Currently, this extension supports only link:https://wiremock.org/[WireMock] def [source,xml] ---- - io.quarkiverse.openapi.generator - quarkus-openapi-generator-moqu - {project-version} + io.quarkiverse.openapi.generator + quarkus-openapi-generator-moqu-wiremock + {project-version} ---- Now, create the following OpenAPI specification file under your `src/resources/openapi` directory: [source,yaml] -.src/main/openapi/hello.yaml +.src/main/resources/openapi/hello.yaml ---- openapi: 3.0.3 servers: @@ -74,11 +74,11 @@ components: Execute now your application on Dev mode, and access the Dev UI for getting you wiremock stubbing: -image::moqu-devui-card-framework.png[] +image::moqu-devui-card-framework.png[alt=Moque Dev UI card,width=640,height=480] Click on `Moqu Wiremock`, you will se a table containing all wiremock definitions: -image::table-wiremock.png[] +image::table-wiremock.png[alt=Wiremock mappings table,width=640,height=480] Now, you can `see` or `download` the Wiremock stubbing. @@ -203,4 +203,4 @@ The Wiremock definition using the OpenAPI specification above, looks something l } ] } ----- \ No newline at end of file +----