forked from loafle/openapi-generator-original
New generator: WSDL (#9545)
* init port * add outputDir * fill out current .md * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
23
samples/documentation/wsdl/.openapi-generator-ignore
Normal file
23
samples/documentation/wsdl/.openapi-generator-ignore
Normal file
@@ -0,0 +1,23 @@
|
||||
# OpenAPI Generator Ignore
|
||||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
||||
|
||||
# Use this file to prevent files from being overwritten by the generator.
|
||||
# The patterns follow closely to .gitignore or .dockerignore.
|
||||
|
||||
# As an example, the C# client generator defines ApiClient.cs.
|
||||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
||||
#ApiClient.cs
|
||||
|
||||
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
||||
#foo/*/qux
|
||||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
||||
|
||||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
||||
#foo/**/qux
|
||||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
||||
|
||||
# You can also negate patterns with an exclamation (!).
|
||||
# For example, you can ignore all files in a docs folder with the file extension .md:
|
||||
#docs/*.md
|
||||
# Then explicitly reverse the ignore rule for a single file:
|
||||
#!docs/README.md
|
||||
2
samples/documentation/wsdl/.openapi-generator/FILES
Normal file
2
samples/documentation/wsdl/.openapi-generator/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
jaxb-customization.xml
|
||||
service.wsdl
|
||||
1
samples/documentation/wsdl/.openapi-generator/VERSION
Normal file
1
samples/documentation/wsdl/.openapi-generator/VERSION
Normal file
@@ -0,0 +1 @@
|
||||
5.2.0-SNAPSHOT
|
||||
28
samples/documentation/wsdl/jaxb-customization.xml
Normal file
28
samples/documentation/wsdl/jaxb-customization.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<jaxws:bindings
|
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
||||
xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
|
||||
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.1"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
wsdlLocation="service.wsdl">
|
||||
|
||||
<enableWrapperStyle>true</enableWrapperStyle>
|
||||
<enableAsyncMapping>false</enableAsyncMapping>
|
||||
|
||||
<jaxws:bindings node="xsd:simpleType[@name='Status']">
|
||||
<jaxb:typesafeEnumClass>
|
||||
<jaxb:typesafeEnumMember value="placed" name="PLACED" />
|
||||
<jaxb:typesafeEnumMember value="approved" name="APPROVED" />
|
||||
<jaxb:typesafeEnumMember value="delivered" name="DELIVERED" />
|
||||
</jaxb:typesafeEnumClass>
|
||||
</jaxws:bindings>
|
||||
<jaxws:bindings node="xsd:simpleType[@name='Status']">
|
||||
<jaxb:typesafeEnumClass>
|
||||
<jaxb:typesafeEnumMember value="available" name="AVAILABLE" />
|
||||
<jaxb:typesafeEnumMember value="pending" name="PENDING" />
|
||||
<jaxb:typesafeEnumMember value="sold" name="SOLD" />
|
||||
</jaxb:typesafeEnumClass>
|
||||
</jaxws:bindings>
|
||||
|
||||
|
||||
</jaxws:bindings>
|
||||
1158
samples/documentation/wsdl/service.wsdl
Normal file
1158
samples/documentation/wsdl/service.wsdl
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user