We live in a world that is powered by APIs. OpenAPI is a specification and set of related tooling that can make it easy to design, describe, and help build an API in many different languages. See how easy it is to hit the ground running using OpenAPI, Spotlight, and OpenAPI Generator to drop in an API into any project.
3. @dragonmantank
● Information about the
API
● Define endpoints that
are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.3
4. @dragonmantank
(It's a specification)
● Information about the
API
● Define endpoints that
are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.3
12. @dragonmantank
(It's a specification)
● Information about the
API
● Define endpoints that
are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.312
13. @dragonmantank
(It's a specification)
● Information about
the API
● Define endpoints that
are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.313
14. @dragonmantank
openapi: 3.0.0
info:
version: 1.2.5
title: Voice API
description: "The Voice API [...]"
contact:
name: Nexmo DevRel
email: devrel@nexmo.com
url: "https://developer.nexmo.com"
servers:
- url: https://api.nexmo.com/v1/calls
Information Header
http://spec.openapis.org/oas/v3.0.3#openapi-object
15. @dragonmantank
openapi: 3.0.0
info:
version: 1.2.5
title: Voice API
description: "The Voice API [...]"
contact:
name: Nexmo DevRel
email: devrel@nexmo.com
url:
"https://developer.nexmo.com"
servers:
- url: https://api.nexmo.com/v1/calls
Information Header
http://spec.openapis.org/oas/v3.0.3#openapi-object
16. @dragonmantank
openapi: 3.0.0
info:
version: 1.2.5
title: Voice API
description: "The Voice API [...]"
contact:
name: Nexmo DevRel
email: devrel@nexmo.com
url: "https://developer.nexmo.com"
servers:
- url: https://api.nexmo.com/v1/calls
Information Header
http://spec.openapis.org/oas/v3.0.3#openapi-object
17. @dragonmantank
openapi: 3.0.0
info:
version: 1.2.5
title: Voice API
description: "The Voice API [...]"
contact:
name: Nexmo DevRel
email: devrel@nexmo.com
url:
"https://developer.nexmo.com"
servers:
- url: https://api.nexmo.com/v1/calls
Information Header
http://spec.openapis.org/oas/v3.0.3#openapi-object
18. @dragonmantank
(It's a specification)
● Information about the
API
● Define endpoints
that are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.318
20. @dragonmantank
(It's a specification)
● Information about the
API
● Define endpoints that
are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.320
22. @dragonmantank
[Information Header]
paths:
"/":
get:
summary: Get details of your calls
description: Get details [...]
operationId: getCalls
parameters:
- name: status
in: query
description: Filter calls [...]
schema:
type: string
example: started
post:
[...]
[...]
Request Structure
http://spec.openapis.org/oas/v3.0.3#operation-object
23. @dragonmantank
(It's a specification)
● Information about the
API
● Define endpoints that
are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.323
29. @dragonmantank
(It's a specification)
● Information about the
API
● Define endpoints that
are available
● What requests look
like
● What responses look
like
● Authentication
Methods
http://spec.openapis.org/oas/v3.0.329
30. @dragonmantank
[Information Header]
paths:
"/":
get:
security:
- bearerAuth: []
summary: Get details of your calls
description: Get details [...]
operationId: getCalls
parameters:
- name: status
in: query
description: Filter calls [...]
schema:
type: string
example: started
post:
[...]
[...]
Request Structure
http://spec.openapis.org/oas/v3.0.3#security-scheme-object
31. @dragonmantank
[Information Header]
paths:
"/":
get:
security:
- bearerAuth: []
summary: Get details of your
calls
description: Get details [...]
operationId: getCalls
parameters:
- name: status
in: query
description: Filter calls [...]
schema:
type: string
example: started
post:
[...]
[...]
Request Structure
http://spec.openapis.org/oas/v3.0.3#security-scheme-object