Test PodeOADefinition - mdaneri/Pode GitHub Wiki
Validate the OpenAPI definition if all Reference are satisfied
Test-PodeOADefinition [[-DefinitionTag] <String[]>]
Validate the OpenAPI definition if all Reference are satisfied
if ((Test-PodeOADefinition -DefinitionTag 'v3').count -eq 0){
Write-PodeHost "The OpenAPI definition is valid"
}
An Array of strings representing the unique tag for the API specification. This tag helps distinguish between different versions or types of API specifications within the application. You can use this tag to reference the specific API documentation, schema, or version that your function interacts with.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False