spectral
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/spectral@43acf5baf8f04bee099d45073d821c0e92b69710
Entrypoint
Return Type
Spectral
Example
func (m *myModule) example() *Spectral {
return dag.
Spectral()
}
@function
def example() -> dag.Spectral:
return (
dag.spectral()
)
@func()
example(): Spectral {
return dag
.spectral()
}
Types
Spectral 🔗
withVersion() 🔗
example usage: “dagger call with-version –version 6.11.0”
Return Type
SpectralContainer !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | StringKind ! | - | No description provided |
Example
Function Spectral.withVersion is not accessible from the spectral module
func (m *myModule) example(version ) {
return dag.
Spectral().
WithVersion(version)
}
@function
def example(version: ) -> :
return (
dag.spectral()
.with_version(version)
)
@func()
example(version: ): {
return dag
.spectral()
.withVersion(version)
}
withImageRef() 🔗
example usage: “dagger call with-image-ref –ref stoplight/spectral:6.11.0”
Return Type
SpectralContainer !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
ref | StringKind ! | - | No description provided |
Example
Function Spectral.withImageRef is not accessible from the spectral module
func (m *myModule) example(ref ) {
return dag.
Spectral().
WithImageRef(ref)
}
@function
def example(ref: ) -> :
return (
dag.spectral()
.with_image_ref(ref)
)
@func()
example(ref: ): {
return dag
.spectral()
.withImageRef(ref)
}
withContainer() 🔗
Return Type
SpectralContainer !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
ctr | Container ! | - | No description provided |
Example
Function Spectral.withContainer is not accessible from the spectral module
func (m *myModule) example(ctr ) {
return dag.
Spectral().
WithContainer(ctr)
}
@function
def example(ctr: ) -> :
return (
dag.spectral()
.with_container(ctr)
)
@func()
example(ctr: ): {
return dag
.spectral()
.withContainer(ctr)
}
withSource() 🔗
example usage: “dagger call with-source –src .”
Return Type
SpectralContainerWithSource !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
Function Spectral.withSource is not accessible from the spectral module
func (m *myModule) example(src ) {
return dag.
Spectral().
WithSource(src)
}
@function
def example(src: ) -> :
return (
dag.spectral()
.with_source(src)
)
@func()
example(src: ): {
return dag
.spectral()
.withSource(src)
}
SpectralContainer 🔗
ctr() 🔗
Return Type
Container !
Example
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module
container() 🔗
Return Type
Container !
Example
Function SpectralSpectralContainer.container is not accessible from the spectral module
Function SpectralSpectralContainer.container is not accessible from the spectral module
Function SpectralSpectralContainer.container is not accessible from the spectral module
Function SpectralSpectralContainer.container is not accessible from the spectral module
withSource() 🔗
example usage: “dagger call with-source –src .”
Return Type
SpectralContainerWithSource !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
Function SpectralSpectralContainer.withSource is not accessible from the spectral module
Function SpectralSpectralContainer.withSource is not accessible from the spectral module
Function SpectralSpectralContainer.withSource is not accessible from the spectral module
Function SpectralSpectralContainer.withSource is not accessible from the spectral module
SpectralContainerWithSource 🔗
spectralContainer() 🔗
Return Type
SpectralContainer !
Example
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module
container() 🔗
Return Type
Container !
Example
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module
withSource() 🔗
example usage: “dagger call with-source –src .”
Return Type
SpectralContainerWithSource !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module
lint() 🔗
example usage: “dagger call with-source –src . lint –document openapi.yaml”
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
document | StringKind ! | - | No description provided |
Example
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module