Package software.amazon.smithy.openapi.fromsmithy.mappers
package software.amazon.smithy.openapi.fromsmithy.mappers
-
ClassDescriptionChecks for greedy labels and fails/warns depending on configuration.Checks for prefix headers in the input or output of an operation, and handles the settings for throwing an exception or warning if they're found.Adds JSON values into the generated OpenAPI model using a JSON Patch like "add" operation that also generated intermediate objects as needed.Substitutes JSON string values using the mapping defined in
openapi.substitutions
.Removes empty key-value pairs in the "components" of a model if empty, and removes the "components" key-value pair of a model if it is empty.Removes unused components from the OpenAPI model.Maps trait shapes tagged withSpecificationExtensionTrait
into OpenAPI specification extensions.Logs each instance of traits and features that are known to not work in OpenAPI.