Skip to content

Commit

Permalink
issue #451 adding dashes between params and descriptions to improve r…
Browse files Browse the repository at this point in the history
…eadibility of docs
  • Loading branch information
lbulanti-ms committed Jan 13, 2025
1 parent fcbf1f1 commit 64fced3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions shared/src/commands/validate/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ export async function validate(
/**
* Run the spectral rules for the pattern and the architecture, and then compile the pattern and validate the architecture against it.
*
* @param jsonSchemaArchitectureLocation the location of the architecture to validate.
* @param jsonSchemaLocation the location of the pattern to validate against.
* @param metaSchemaPath the path of the meta schemas to use for ajv.
* @param debug the flag to enable debug logging.
* @param jsonSchemaArchitectureLocation - the location of the architecture to validate.
* @param jsonSchemaLocation - the location of the pattern to validate against.
* @param metaSchemaPath - the path of the meta schemas to use for ajv.
* @param debug - the flag to enable debug logging.
* @returns the validation outcome with the results of the spectral and json schema validations.
*/
async function validateArchitectureAgainstPattern(jsonSchemaArchitectureLocation:string, jsonSchemaLocation:string, metaSchemaPath:string, debug: boolean): Promise<ValidationOutcome>{
Expand Down Expand Up @@ -327,9 +327,9 @@ async function validateArchitectureAgainstPattern(jsonSchemaArchitectureLocation
* Run validations for the case where only the pattern is provided.
* This essentially runs the spectral validations and tries to compile the pattern.
*
* @param jsonSchemaLocation the location of the patterns JSON Schema to validate.
* @param metaSchemaPath the path of the meta schemas to use for ajv.
* @param debug the flag to enable debug logging.
* @param jsonSchemaLocation - the location of the patterns JSON Schema to validate.
* @param metaSchemaPath - the path of the meta schemas to use for ajv.
* @param debug - the flag to enable debug logging.
* @returns the validation outcome with the results of the spectral validation and the pattern compilation.
*/
async function validatePatternOnly(jsonSchemaLocation: string, metaSchemaPath: string, debug: boolean): Promise<ValidationOutcome> {
Expand Down Expand Up @@ -357,7 +357,7 @@ async function validatePatternOnly(jsonSchemaLocation: string, metaSchemaPath: s
/**
* Run the spectral validations for the case where only the architecture is provided.
*
* @param architectureSchemaLocation The location of the architecture schema.
* @param architectureSchemaLocation - The location of the architecture schema.
* @returns the validation outcome with the results of the spectral validation.
*/
async function validateArchitectureOnly(architectureSchemaLocation: string): Promise<ValidationOutcome> {
Expand Down

0 comments on commit 64fced3

Please sign in to comment.