OpenApiParameterReference(String, OpenApiDocument, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor initializing the reference object.
public OpenApiParameterReference(string referenceId, Microsoft.OpenApi.OpenApiDocument? hostDocument = default, string? externalResource = default);
new Microsoft.OpenApi.OpenApiParameterReference : string * Microsoft.OpenApi.OpenApiDocument * string -> Microsoft.OpenApi.OpenApiParameterReference
Public Sub New (referenceId As String, Optional hostDocument As OpenApiDocument = Nothing, Optional externalResource As String = Nothing)
Parameters
- referenceId
- String
The reference Id.
- hostDocument
- OpenApiDocument
The host OpenAPI document.
- externalResource
- String
Optional: External resource in the reference. It may be: 1. a absolute/relative file path, for example: ../commons/pet.json 2. a Url, for example: http://localhost/pet.json