Package | Description |
---|---|
io.swagger.transform.migrate | |
io.swagger.transform.migrate.resourcelisting | |
io.swagger.transform.util |
Modifier and Type | Class and Description |
---|---|
class |
ApiArrayMigrator
API declaration, JSON Pointer: "/apis"
|
class |
ApiObjectMigrator
Migrator for one element of an
apis array |
class |
ApiOperationMigrator
Migrator for the
operations arrau of an API object |
class |
OperationParametersMigrator
Migrator for one parameter object or an operation object
|
class |
V11AllowableValuesMigrator
Patch a 1.1
allowableValues into a 1.2 enum |
class |
V11ApiDeclarationMigrator
Migrator for a complete 1.1 API declaration
|
class |
V11ResourceListingMigrator
Migrator for a complete 1.1 resource listing
|
class |
V11TypeMigrator
Patch a 1.1 dataType into a 1.2 type
|
Modifier and Type | Field and Description |
---|---|
protected SwaggerMigrator |
SwaggerJsonMigrator.migrator |
Constructor and Description |
---|
SwaggerJsonMigrator(SwaggerMigrator migrator) |
Modifier and Type | Class and Description |
---|---|
class |
PathAppenderMigrator
Append a base path to individual API objects
|
Modifier and Type | Class and Description |
---|---|
static class |
SwaggerMigrators.MembersToString
Migrator converting object member values to JSON Strings
|
Modifier and Type | Method and Description |
---|---|
static SwaggerMigrator |
SwaggerMigrators.fromPatch(com.github.fge.jsonpatch.JsonPatch patch)
Return a migrator applying a JSON Patch
|
static SwaggerMigrator |
SwaggerMigrators.membersToString(java.lang.String first,
java.lang.String... others)
Return a migrator converting object member values to JSON Strings
|
static SwaggerMigrator |
SwaggerMigrators.patchFromResource(java.lang.String resourcePath)
Return a migrator applying a JSON Patch as read from the classpath
|
static SwaggerMigrator |
SwaggerMigrators.renameMember(java.lang.String from,
java.lang.String to)
Return a migrator renaming object members
|
Modifier and Type | Method and Description |
---|---|
void |
MutableJsonTree.applyMigrator(SwaggerMigrator migrator)
Apply a migrator to the node at the current pointer
|
void |
MutableJsonTree.applyMigratorToElements(SwaggerMigrator migrator)
Apply a migrator to all elements of the array at the current pointer
|
Copyright © 2019. All Rights Reserved.