Class Reference
java.lang.Object
com.github.chhorz.openapi.common.domain.Reference
https://spec.openapis.org/oas/v3.1.0#reference-object
- Author:
- chhorz
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Reference
public Reference() -
Reference
-
-
Method Details
-
forSchema
Creates a new schema reference.- Parameters:
referenceString
- the schema to create a reference for- Returns:
- the OpenAPI
Reference
-
forRequestBody
Creates a new reference for a request body.- Parameters:
referenceString
- the response body to create a reference for- Returns:
- the OpenAPI
Reference
-
get$ref
-
toString
-