United States Fire Administration · API Governance Rules
United States Fire Administration API Rules
Spectral linting rules defining API design standards and conventions for United States Fire Administration.
7 Rules
error 2
warn 5
Rule Categories
openfema
Rules
error
openfema-operation-ids-required
All operations must have operationIds.
$.paths[*][get,post,put,delete,patch]
warn
openfema-operations-have-tags
All operations should be tagged for grouping.
$.paths[*][get,post,put,delete,patch]
warn
openfema-parameters-have-descriptions
All query parameters should have descriptions.
$.paths[*][*].parameters[*]
error
openfema-success-responses
All operations must document 200 success response.
$.paths[*][get,post].responses
warn
openfema-json-responses
OpenFEMA operations should support JSON responses.
$.paths[*][get].responses.200.content
warn
openfema-schemas-have-descriptions
Schema components should have descriptions.
$.components.schemas[*]
warn
openfema-info-contact
API info should include contact information.
$.info