Skip to content

Commit

Permalink
added swagger security definition. close #1725.
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Nov 14, 2023
1 parent e2fc691 commit b899513
Show file tree
Hide file tree
Showing 3 changed files with 739 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@
/j-lawyer-server/j-lawyer-server-ejb/src/java/body.docx
/j-lawyer-server/j-lawyer-server-ejb/src/java/header.docx
/j-lawyer-fax/test/org/jlawyer/tests/test.pdf
/j-lawyer-server/j-lawyer-io/addbasicauth-error.log
/j-lawyer-server/j-lawyer-io/addbasicauth.log
12 changes: 12 additions & 0 deletions j-lawyer-server/j-lawyer-io/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@
<pathelement path="${java.class.path}"/>
</classpath>
</java>
<java classname="org.jlawyer.io.rest.tools.AddBasicAuthToJson"
fork="true"
failonerror="true"
maxmemory="256m"
output="addbasicauth.log"
error="addbasicauth-error.log">
<arg line="${basedir}/build/web/swagger-ui/swagger.json"/>
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="${basedir}/build/web/WEB-INF/classes"/>
</classpath>
</java>
</target>

</project>
Loading

0 comments on commit b899513

Please sign in to comment.