Add spectral linter for Swagger (#20321)
	
		
	
				
					
				
			[spectral](https://github.com/stoplightio/spectral) lints openapi/swagger files for mistakes of which it has identified a few and which I've fixed. I had to put it into `lint-frontend` because it depends on node_modules so can not run on Drone during the backend target. I plan to refactor these targets later to `lint-js` and `lint-go` so that they are categorized based on the tool dependencies.tokarchuk/v1.18
							parent
							
								
									8a7d1a3516
								
							
						
					
					
						commit
						c8e0fd0bcc
					
				| @ -0,0 +1,12 @@ | ||||
| extends: [[spectral:oas, all]] | ||||
| 
 | ||||
| rules: | ||||
|   info-contact: off | ||||
|   oas2-api-host: off | ||||
|   oas2-parameter-description: off | ||||
|   oas2-schema: off | ||||
|   oas2-valid-schema-example: off | ||||
|   openapi-tags: off | ||||
|   operation-description: off | ||||
|   operation-singular-tag: off | ||||
|   operation-tag-defined: off | ||||
									
										
											File diff suppressed because it is too large
											Load Diff
										
									
								
							
						
					Loading…
					
					
				
		Reference in new issue