🍋
Menu
Developer

OpenAPI

OpenAPI Specification

A standard for describing RESTful APIs in a machine-readable format (formerly known as Swagger).

तकनीकी विवरण

OpenAPI APIs use HTTP methods as verbs: GET (read), POST (create), PUT (replace), PATCH (partial update), DELETE (remove). Resources are identified by URIs and represented in JSON. RESTful design requires statelessness — each request contains all information needed for processing. HATEOAS (Hypermedia as the Engine of Application State) is the often-ignored constraint where responses include links to related actions, enabling API self-discovery.

उदाहरण

```javascript
// OpenAPI example
const input = 'sample data';
const result = process(input);
console.log(result);
```

संबंधित टूल्स

संबंधित शब्द