OpenApiWorkspace.AddArtifact(String, Stream) Method
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.
Add a stream based artificat to the workspace. Useful for images, examples, alternative schemas.
public void AddArtifact (string location, System.IO.Stream artifact);
member this.AddArtifact : string * System.IO.Stream -> unit
Public Sub AddArtifact (location As String, artifact As Stream)
Parameters
- location
- String
- artifact
- Stream