下面的错误是什么意思?(在大摇大摆的编辑器中运行)
架构错误不应具有其他属性additionalProperty:/buildinfo、/clearcache、/countries/{countryId}/cinemas/{TheaterId}/screens/{screenid}/layout、/countries/{countryId}/cinemas/{TheaterId}/screens跳转到第0行
下面是我的yaml文件。
openapi: "3.0.1"
info:
title: Mobile backend
version: 1.0.0
license:
name: Apache 2.0
paths:
/buildinfo:
get:
description: Returns the build information (Version and Time stamp).
operationId: getBuildInfo
parameters:
- name: LBPATH
in: header
/clearcache:
get:
description: Clears the mobile backends cache (You need to be Admin to do this call)
operationId: clearCache
parameters:
- name: LBPATH
in: header
/countries/{countryId}/cinemas/{theatreid}/screens/{screenid}/layout:
get:
description: Returns a list of Auditoriums that is currently running in a specific city. Ordered by movie name in ascending order.
operationId: getScreenLayout
parameters:
- name: theatreid
in: path
- name: screenid
in: path
- name: seatwidth
in: query
- name: seatheight
in: query
- name: Accept-Language
in: header
- name: LBPATH
in: header
/countries/{countryId}/cinemas/{theatreid}/screens:
get:
description: Returns a list of Auditoriums that is currently running in a specific city. Ordered by movie name in ascending order.
operationId: getAuditoriumsInTheatre
parameters:
- name: theatreid
in: path
- name: Accept-Language
in: header
- name: LBPATH
in: header
components:
schemas:
ProfileNotifications:
properties:
iWantEmails:
type: boolean
iWantSMS:
type: boolean
iWantPushNotifications:
type: boolean
OfferActivateRequest:
properties:
offerId:
type: int64
osType:
$ref: '#/components/schemas/OSType'
mobileId:
type: string
activationDate:
type: date
Customer:
properties:
type:
$ref: '#/components/schemas/TicketType'
count:
type: int32
Profile$ProfileStatus:
properties:
Booking:
properties:
profileId:
type: string
remoteEntityIds:
type: array
items:
string
customers:
type: array
items:
$ref: '#/components/schemas/Customer'
showId:
type: string
seatsUnnumberedCount:
type: int32
ProfileFriend:
properties:
name:
type: string
profileReferenceCode:
type: string
OfferConsumeRequest:
properties:
offerId:
type: int64
osType:
$ref: '#/components/schemas/OSType'
mobileId:
type: string
Profile:
properties:
language:
type: string
children:
type: array
items:
int32
city:
type: string
memberSince:
type: date
status:
$ref: '#/components/schemas/Profile$ProfileStatus'
firstName:
type: string
lastName:
type: string
phonenumber:
type: string
socialSecurityNumber:
type: string
acceptedTermsAndConditionsOn:
type: date
acceptedGeneralDataProtectionRegulationOn:
type: date
profileId:
type: string
currentLevelId:
type: string
aztecCode:
type: string
allowSfBioToSendNewsletters:
type: boolean
favoriteMovies:
type: array
items:
string
spendingPointsWillExpire:
type: array
items:
$ref: '#/components/schemas/SpendingPoint'
friends:
type: array
items:
$ref: '#/components/schemas/ProfileFriend'
userEmail:
type: string
providerId:
type: int32
providerToken:
type: string
memberNumber:
type: string
userHasVerifiedThisAccount:
type: boolean
loyaltyLevelId:
type: string
loyaltyLevelName:
type: string
loyaltyLevelSince:
type: date
loyaltyLevelExpiration:
type: date
loyaltyPointsAvailableForSpending:
type: int32
loyaltyMoviesLeftToTheNextLevel:
type: int32
loyaltyPointsLeftToTheNextLevel:
type: int32
loyaltyPointsLevelToGetGoldMember:
type: int32
loyaltyMovieLevelToGetGoldMember:
type: int32
loyaltySpendingPointsExpireDate:
type: date
loyaltySpendingPointsExpireAmount:
type: int32
oldClubCardNumber:
type: string
loyaltyEndDate:
type: date
CardType$Type:
properties:
purchaseCard:
type: boolean
Card:
properties:
type:
$ref: '#/components/schemas/CardType$Type'
number:
type: string
requestedAmount:
type: int32
deductedAmount:
type: int32
isUsed:
type: boolean
balance:
type: int32
errorCode:
type: int32
LockSeats:
properties:
seatKeys:
type: array
items:
$ref: '#/components/schemas/SeatKey'
auditoriumSys99Code:
type: string
dateTime:
type: int64
SeatKey:
properties:
seatRow:
type: int32
seatSection:
type: string
seatId:
type: int32
ShowKey:
properties:
Payment:
properties:
email:
type: string
profileId:
type: string
serialVersionUID:
type: int64
ticketTypes:
type: array
items:
$ref: '#/components/schemas/TicketType'
easyPayment:
$ref: '#/components/schemas/EasyPayment'
reservationPayment:
type: boolean
reservationNumber:
type: string
cards:
type: array
items:
$ref: '#/components/schemas/Card'
showKey:
$ref: '#/components/schemas/ShowKey'
bookingId:
type: int32
redirectUrl:
type: string
transactionId:
type: string
customers:
type: array
items:
$ref: '#/components/schemas/Customer'
goggleCount:
type: int32
paymentResponseCode:
type: string
Reservation:
properties:
email:
type: string
profileId:
type: string
cards:
type: array
items:
$ref: '#/components/schemas/Card'
bookingId:
type: int32
customers:
type: array
items:
$ref: '#/components/schemas/Customer'
msisdn:
type: string
showId:
type: string
goggleCount:
type: int32
totalFee:
type: int32
adultTicketCount:
type: int32
childTicketCount:
type: int32
pensionerTicketCount:
type: int32
plusAndVipTicketCount:
type: int32
totalPlusAndVipTicketCost:
type: int32
SpendingPoint:
properties:
expireDate:
type: date
amount:
type: int32
ProfileMovies:
properties:
movies:
type: array
items:
string
OSType:
properties:
ProfileCinemas:
properties:
cinemas:
type: array
items:
string
LockSeatsUnnumbered:
properties:
auditoriumSys99Code:
type: string
dateTime:
type: int64
nrOfSeats:
type: int32
TicketType:
properties:
EasyPayment:
properties:
panHash:
type: string
truncPan:
type: string
userAccept:
type: boolean
路径的缩进是错误的:
paths:
/buildinfo: # <-----
get:
它应该是:
paths:
/buildinfo:
get:
您的规范还存在许多其他错误,例如参数缺少schema
、操作中缺少响应
、模式中错误的类型
值等。请按照Swagger编辑器中的提示修复错误。
但是我仍然得到错误,我不明白。"路径处的架构错误"应该是数组"
parameters:
name: LBPATH
in: header
schema:
type: string
style: simple
参数
是一个参数数组。在YAML中,数组项的格式为前导-
。而且style
是参数属性,而不是模式属性。
parameters:
- name: LBPATH
in: header
schema:
type: string
style: simple
要了解有关OpenAPI 3.0语法以及如何格式化的更多信息,请参阅本指南:https://swagger.io/docs/specification/basic-structure/
请帮我解决这个问题。 错误: 路径处的架构错误不应具有其他属性additionalProperty:sepa/sct/{OriginatorAccount}
将应用程序从角5迁移到角6后,在运行ng service时会弹出以下错误。 架构验证失败,出现以下错误:数据路径“”不应具有其他属性(项目)。错误:架构验证失败,出现以下错误:数据路径“”不应具有其他属性(项目)。在MergeMapSubscriber_注册表。编写管operators\u 1。Concat地图。validatorResult[作为项目](…/TemplateApp/me cmf
我看了已经问过的问题,但没有一个能够解决我的问题。 < code > https://stack overflow . com/questions/45534187/path-and-formdata-parameter-at-same-time < code > https://stack overflow . com/questions/50562971/swagger-editor-show
我刚刚开始使用Swagger Editor/OpenAPI 3规范,所以到目前为止还不太好。我已经在本地机器上安装并运行了Swagger Editor v.3.15.2。 这是我到目前为止的yaml: 它显示了这个错误: 我已经确保我对所有缩进使用两个空格。当我从编辑器复制yaml并将其放入记事本时,它看起来很好。我还将其粘贴到另一个编辑器中,注意到它只使用换行符而不是回车。我更新了它以使用两者,
为了帮助组件更通用和可重用,值得尝试将它们分成容器组件和演示组件。 redux docs. 记住这一点,让我们重构我们的 是一个演示组件。 首先,让我们修改我们的app-container,在它上面有两个计数器组件,就像我们现在有的一样。 View Example 看看这个例子,你可以看到已经有一个 app/reducers/curse-reducer.ts 和 app/actions-curse
所以我试图通过一个简单的jsp页面访问netbeans中java应用程序中的底层数据库: 但我得到了这个错误: 从dbsample.books中选择isbn、标题、数量和价格:架构“dbsample”不存在 这是堆栈跟踪: 现在我已经检查了web.xml。就我所知,部署描述符是正确的。我检查了我的数据源,根据我的persistance.xml,它似乎是正确的,我ping了数据库池,它也是成功的。我
新package.json: 当我使用新的package.json updates运行,然后运行时,会出现许多编译错误: src/app/all-matches/all-matches.component.ts(35,39)中的错误:错误TS2339:类型“Observable”上不存在属性“take tile”。src/app/app.component.ts(28,39):错误TS2339:类
首先要明确一点的是,没有最好,只有最合适。前端框架并不是所谓 注:本文一些数据收集时间为16-12-31 因为大部分教程都是付费的,所以教程数量的多少在侧面反映了框架的市场需求,如果框架冷门用的人不多,那必然不会有人去为其开发教程。