이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 3. Adding specifications to 3scale
By the end of the section, you will have ActiveDocs set up for your API.
3scale offers a framework to create interactive documentation for your API.
With OpenAPI Specification (OAS), you have functional documentation for your API, which will help your developers explore, test and integrate with your API.
3.2. Create a service specification 링크 복사링크가 클립보드에 복사되었습니다!
When you add a new service spec, you will have to provide:
- Name
- System name (required to reference the Servcie specification from the Developer Portal)
- Whether you want the specification to be public or not
- A description that is only meant for your own consumption
- API JSON spec, which you can see in the figure below.
The API JSON specification is the "secret ingredient" of ActiveDocs.
You must generate the specification of your API according to the specification proposed by OpenAPI Specification (OAS). In this tutorial we assume that you already have a valid OAS-compliant specification of your API.
3.3. Working with your first ActiveDoc 링크 복사링크가 클립보드에 복사되었습니다!
Once you have added your first ActiveDoc, you can see it listed in [your_API_name]
You can also preview what your ActiveDocs looks like by clicking on the name you gave the service specification (in the example it was called it Pet Store). You can do this even if the specification is not public yet.
This is what your ActiveDoc will look like: