public class OpenApiFileHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
normalizeOpenApiYaml(java.lang.String yaml)
Normalize an textual OpenApi in the
yaml format and remove all environment-specific
contents. |
public static java.lang.String normalizeOpenApiYaml(java.lang.String yaml)
yaml format and remove all environment-specific
contents.
servers list that is automatically generated by ServerUrlFilter but disrupts the repeatability
in tests where the application run on random ports.
yaml - the content of the openapi.yaml fileyaml