Error: 'Parser error bad indentation of a mapping entry' in swaggerhub

0

I am implementing an api and when coding the post of / new-geocerca the following error appears:

'Parser error bad indentation of a mapping entry'

The code is as follows, why can this be happening?:

/new-geocerca
 post:
  security:
  - Bearer: []
  tags:
  - developers
  summary: create geocerca
  operationId: createGeocerca
  description: |
    Create geocerca
  consumes:
  - application/json
  produces:
  - application/json
  parameters:
    schema:
      $ref: '#/definitions/NewGeocerca'
  responses:
    200:
      description: Geocerca created
    400:
      description: invalid geocerca
    404:
      description: Not found
    
asked by Sebastian Garcia Fischer 28.02.2018 в 18:19
source

0 answers