Hi I am using two agents with the api to fetch the space id from space name and one to create a confluence page using space id.
openapi: 3.0.0 info: title: MANSI API version: 1.0.0 servers: - url: https://name.atlassian.net/wiki/api/v2 paths: /pages: post: summary: Create a new page requestBody: required: true content: application/json: schema: type: object properties: spaceId: type: string status: type: string title: type: string parentId: type: string body: type: object properties: representation: type: string example: storage value: type: string required: - spaceId - status - title - body responses: '200': description: Page created successfully security: - basicAuth: [] components: securitySchemes: basicAuth: type: http scheme: basic,
openapi: 3.0.0 info: title: MANSI API version: 1.0.0 servers: - url: https://name.atlassian.net/wiki/api/v2 paths: /spaces: get: summary: Retrieve space information parameters: - in: query name: keys required: true schema: type: string description: The keys of the space to retrieve responses: '200': description: Success content: application/json: schema: type: object properties: id: type: string security: - basicAuth: []
so if i combine both -
openapi: 3.0.0 info: title: MANSI API version: 1.0.0 servers: - url: https://name.atlassian.net/wiki/api/v2 paths: /spaces: get: summary: Retrieve space information parameters: - in: query name: keys required: true schema: type: string description: The keys of the space to retrieve responses: '200': description: Success content: application/json: schema: type: object properties: id: type: string security: - basicAuth: [] /pages: post: summary: Create a new page requestBody: required: true content: application/json: schema: type: object properties: spaceId: type: string status: type: string title: type: string parentId: type: string body: type: object properties: representation: type: string example: storage value: type: string required: - spaceId - status - title - body responses: '200': description: Page created successfully security: - basicAuth: [] components: securitySchemes: basicAuth: type: http scheme: basic
my basic concern is that if I am using two api together for basic auth my agent is failing.
My question to you is that if i combine these two together in a single schema I am facing this error.
How to resolve?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.