Ich erstelle API-Dokumentation mit Swagger UI. Ich habe viele Fehler, die sagen "Keine gültige Parameterdefinition" und ich weiß nicht warum. Kann jemand sagen, was oder warum das passiert? Ich füge einen Abschnitt des Codes und ein Bild mit den Zeilennummern und den Fehlerbeschreibungen ein.Swagger werfen "Keine gültige Parameterdefinition"
Prahlerei Beispiel
#sys_application
/api/application/add:
post:
description: Adds specified application(s).
parameters:
- name: name
in: body
description: name of the application
required: true
type: string
- name: appId
in: body
description: application id
required: true
type: string
- name: icon
in: body
description: application icon
required: true
type: string
- name: state
in: body
description: current state of the application
required: true
type: string
- name: profileRoute
in: body
description: embedded profile route that is displayed within the map app
required: true
type: string
- name: type
in: body
description: type of the application
required: true
type: string
- name: permissions
in: body
description: user permissions for application
required: false
type: string
- name: subscriptions
in: body
description: application subscriptions
required: false
type: string
Prahlerei Fehler