CSACyber Security AuditWebbandflow
APIs

OpenAPI Specification (Swagger)

A standard, machine-readable description of what an API offers and how to use it.

What it is

The OpenAPI Specification, historically known as Swagger, is a standard format for describing an API's endpoints, inputs, and outputs in a machine-readable way. It powers interactive documentation and tooling that make an API easy to understand and use. When published openly, it also tells everyone, including attackers, exactly how the API works.

Why it matters

A publicly exposed API specification is helpful to developers but also provides attackers a complete map of available endpoints to probe.

Related terms

References

← Back to the glossary