Forum Discussion

benpo's avatar
benpo
New Contributor
2 years ago

Adding multiple descriptive text for tags / summary:

Hi, I am a newbie, so probably asking a stupid question. 

 

I am editing a YAML file that looks like this:

 

paths:
  /api/login:
    post:
      summary: User login
      tags:
        - Authentication
      description: Use the credentials to log in.
      requestBody:
        description: Login credentials<br/>
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - username
                - password
              properties:
                username:
                  type: string
 
This displays something like this:

Authentication

 

User login

Use the credentials to log in.

 
 I want to add some text underneath Authentication, which describes the entire authentication process etc. (as well as keep the text already present underneath User Login for additional information)  -  I cannot work out how to do it? - Can anyone help a newbie?

4 Replies