Hugo de Paix de Coeur
6282459905
fixed #124 : fix inter-document cross-references in security schemes
...
Added inter-document cross-references tests in AsciiDoc and Markdown format
2016-04-08 17:39:52 +02:00
Hugo de Paix de Coeur
0e4b193d70
Use JSON schema title value to name inline schema intermediary objects, or, if not provided, generate a virtual name based on definition/property/parameter/response name
...
fixed column widths
fixed bug with <> and cross-references
added type to BasicType to clearly distinct type and name
refactored RefType to use referenced type name/uniqueName instead of a copy of them.
2016-04-08 15:44:38 +02:00
Hugo de Paix de Coeur
80e96933b0
missing expected files for inline_schema_flat_body test
2016-04-06 22:08:41 +02:00
Hugo de Paix de Coeur
9ef34dd853
fixed inlineSchema depth constant 1 -> configured depth level in definitions
...
fixed tests
2016-04-06 22:00:10 +02:00
Hugo de Paix de Coeur
b37c173e07
fixed inlineSchemas in collections (array and map, recursive collections, and object/collection mix) in parameters, responses and definitions
...
fixed missing support for withInlineSchemaDepth when withFlatBody enabled
fixed inline definitions unicity with depth > 1
2016-04-06 21:47:18 +02:00
Hugo de Paix de Coeur
105ac545b3
Moved Example column to description content
2016-04-06 19:16:17 +02:00
Hugo de Paix de Coeur
ae3f9aa353
Removed Required column and render required flag in NAME_COLUMN.
...
Removed header style on columns in tables.
Support for read-only property flags.
2016-04-06 18:15:09 +02:00
Robert Winkler
be56290257
Updated documentation
2016-04-06 09:32:03 +02:00
Hugo de Paix de Coeur
bad8cde186
missing placeholder quoting
2016-04-05 16:08:07 +02:00
Hugo de Paix de Coeur
7b59a069ef
escape consume/produce in overview too ( #28 ).
...
WorkAround AsciiDoctor HTML conversion bug with + on the last paragraph line.
Use italic for overview informations keys.
fixed termsOfService layout.
2016-04-05 16:08:07 +02:00
Robert Winkler
aaac78f985
Merge remote-tracking branch 'origin/master'
2016-04-05 15:05:53 +02:00
Robert Winkler
e959c9ed59
Updated documentation
2016-04-05 15:05:45 +02:00
Hugo de Paix de Coeur
05a4ee230c
Remove hand-written definition/operation descriptions from code, to prepare extension ( #108 )
2016-04-05 14:53:41 +02:00
Robert Winkler
78411de398
Merge remote-tracking branch 'origin/master'
2016-04-05 14:52:49 +02:00
Robert Winkler
e697815c0c
Updated documentation
2016-04-05 14:52:43 +02:00
Hugo de Paix de Coeur
fbd22779ee
revert buildOperationTitle block from SIDEBAR to LITERAL style
...
fixed #28 : */* (consume/produce) not escaped
fixed tests
2016-04-05 14:25:01 +02:00
Robert Winkler
65522e4569
Fixed static factory method fromUri so that it also excepts URIs without a scheme.
2016-04-05 08:30:59 +02:00
Hugo de Paix de Coeur
ae8961d43c
fixed #44 : added a non-regression test
2016-04-04 20:14:52 +02:00
Hugo de Paix de Coeur
7ad8ef8d18
fixed #22 : Add discriminator field to the output
2016-04-04 19:58:29 +02:00
Hugo de Paix de Coeur
539520903f
enhanced maps test using integer with format int32
2016-04-04 17:55:53 +02:00
Hugo de Paix de Coeur
566300a598
fixed missing line breaks in overview document
2016-04-04 17:55:53 +02:00
Hugo de Paix de Coeur
656ebde58c
fixes #111 : Enum definition type values not rendered
...
getAllProperties logic as been factored in ModelUtils
2016-04-04 16:16:41 +02:00
Robert Winkler
074794830f
Merge pull request #121 from Swagger2Markup/features/maps
...
fixes #113 : Support for maps (additionalProperties) in parameters, defs and responses
2016-04-04 13:36:17 +02:00
Hugo de Paix de Coeur
82ac10c7a5
fixes #113 : Support for maps (additionalProperties) in parameters, definitions and responses
2016-04-04 13:31:56 +02:00
Robert Winkler
6de159fa7d
Moved Swagger2MarkupProperties into another package.
2016-04-04 12:15:08 +02:00
Robert Winkler
928ec8b325
Added a static factory method "fromURI" method to the Swagger2MarkupConverter
2016-04-04 10:31:43 +02:00
Robert Winkler
456625ae4b
Simplified loading of the default properties file.
2016-04-01 13:11:09 +02:00
Robert Winkler
df61f140ca
Upgrade to JDK8
2016-03-31 16:25:03 +02:00
Robert Winkler
e66feb5a27
Updated documentation.
2016-03-23 14:46:16 +01:00
Robert Winkler
972f2c2d6d
Updated documentation.
2016-03-23 14:43:05 +01:00
Robert Winkler
5f965e6378
Updated documentation.
2016-03-22 16:33:20 +01:00
Robert Winkler
d9e2397f48
Updated documentation.
2016-03-21 16:43:42 +01:00
Robert Winkler
b931d7f3af
Fixes #116 Section titles of generated HTTP request/response have the same level
2016-03-18 15:39:03 +01:00
Robert Winkler
5b970eb2c8
Merge remote-tracking branch 'origin/master'
2016-03-18 15:06:24 +01:00
Robert Winkler
52b5bf2361
Renamed operationsGroupedBy to pathsGroupedBy to be backward compatible.
2016-03-18 15:06:17 +01:00
Hugo de Paix de Coeur
8eee21baf0
renamed intoFolder -> toFolder, asString -> toString for consistency
2016-03-18 13:20:36 +01:00
Robert Winkler
69e7992f3e
Updated markup-document-builder to 1.0.0-SNAPSHOT
2016-03-18 10:39:14 +01:00
Robert Winkler
29bfddc8d2
DiffUtils assertThatAllFilesAreEqual iterates over the expectedDirectory instead of the actualDirectory now. This allows to check only 2 files instead of always all 4 S2M documents.
2016-03-18 08:22:59 +01:00
Hugo de Paix de Coeur
451e377cac
inverted actual/expected in DiffUtils.assertThatAllFilesAreEqual for consistency with tests habits
2016-03-17 17:15:44 +01:00
Hugo de Paix de Coeur
6379b3ccf1
fixed #107 : Possibility to write the output into just one file instead of a folder
2016-03-17 17:10:53 +01:00
Hugo de Paix de Coeur
23331930cc
introduced .withSwaggerMarkupLanguage configuration to automatically convert Swagger file description into the target S2M language
2016-03-16 19:13:57 +01:00
Hugo de Paix de Coeur
19bc2dd0e2
moved generated test results to build/test for consistency with MDB
2016-03-16 15:37:37 +01:00
Hugo de Paix de Coeur
ccf3ee8e7d
use new MDB .withHeaderColumn
2016-03-16 13:51:55 +01:00
Robert Winkler
54147bbddb
Merge remote-tracking branch 'origin/master'
2016-03-16 12:42:33 +01:00
Robert Winkler
914fa2da0f
Refactored Swagger2MarkupConfigBuilder to use Apache Commons configuration.
2016-03-16 12:42:27 +01:00
Hugo de Paix de Coeur
d41b14bbff
added anchors for operations and definitions in !separated mode too
...
switched paths anchors to getId() instead of getTitle()
2016-03-16 11:39:37 +01:00
Robert Winkler
354d2167fb
Added enum examples to swagger_petstore.yaml.
2016-03-16 08:52:09 +01:00
Robert Winkler
8d8d4cd5d0
Added a method getExtensionsProperties to Swagger2MarkupConfig and withExtensionProperties to Swagger2MarkupConfigBuilder so that a user is able to configure its Swagger2Markup extension.
2016-03-15 13:42:36 +01:00
Robert Winkler
831e949d91
Uncommented tests which are not necessary anymore.
2016-03-15 11:04:53 +01:00
Robert Winkler
d48b9c217b
The S2MConfig and S2MRegistry are interfaces now so that other users can develop their own implementations and don't have to use our default implementations.
2016-03-15 09:59:32 +01:00