Something went wrong. Try again.
OpenAPI 3.0 compliant spec for TLE Community.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748import { operation, buildingBase, buildingCommonMethods, buildingView, requestBodySchema, response200, response500, security, speciesSchema, statusSchema, tags,} from '../../chunks.ts';
const base = buildingBase('LibraryOfJith');
export const libraryOfJith = { ...buildingCommonMethods(base), ...buildingView(base),
[`${base}/research_species`]: { post: { ...tags(base), ...security(), ...operation('Research species.', 'Returns species stats for any species in the game.'), ...requestBodySchema({ type: 'object', required: ['building_id', 'empire_id'], properties: { building_id: { type: 'integer', description: 'The unique id of the building.' }, empire_id: { type: 'integer', description: "The unique id of an empire you'd like to know more about.", }, }, }), responses: { ...response200('Returns species stats for any species in the game.', { type: 'object', required: ['species', 'status'], properties: { species: speciesSchema(), status: statusSchema() }, }), ...response500(), }, }, },};