We would like to add custom error codes, such as 404.00.1 File not found, 
404.00.2 Document not found, etc. to our swagger documentation.  However, 
the below gave us the errors "should NOT have additional properties 
additionalProperty: 404.00.1" and "should NOT have additional properties 
additionalProperty: 404.00.2"  Does anyone know how we can add custom error 
codes to the documentation?  Thanks!

responses:
  '200':
    description: OK
    schema:
      $ref: '#/schema/ResponseObject'
  '404.00.1':
    description: File not found
  '400.05.2':
    description: Document not found

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to